print->throw Exception

This commit is contained in:
sneurlax 2023-07-22 21:09:42 -05:00
parent e559ee1cc5
commit 55e55ef8c8

View file

@ -103,7 +103,7 @@ mixin OrdinalsInterface {
await litescribeAPI.getInscriptionsByAddress(address);
allInscriptions.addAll(inscriptions);
} catch (e) {
print("Error fetching inscriptions for address $address: $e");
throw Exception("Error fetching inscriptions for address $address: $e");
}
}
return allInscriptions;