added uptime monitoring
This commit is contained in:
@@ -135,7 +135,9 @@ class ReceiptController extends ChangeNotifier {
|
||||
model.transaction = transaction;
|
||||
setLoading(false);
|
||||
return ApiResponse.success(transaction);
|
||||
} catch (e) {
|
||||
} catch (e, s) {
|
||||
print(e);
|
||||
print(s);
|
||||
setLoading(false);
|
||||
return ApiResponse.failure(
|
||||
"Problem fetching transaction data, are you connected to the internet?",
|
||||
|
||||
Reference in New Issue
Block a user