v1.1.26 android release
This commit is contained in:
@@ -52,7 +52,12 @@ class APIClient with Common, Logging {
|
||||
return jsonDecode(await result.transform(utf8.decoder).join());
|
||||
} catch (exception) {
|
||||
print(exception.toString());
|
||||
await Sentry.captureException(exception);
|
||||
try {
|
||||
await Sentry.captureException(exception);
|
||||
} on Exception catch (e) {
|
||||
print(e);
|
||||
}
|
||||
|
||||
throw Exception("Network error, try again later!");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user