Fix offline app exception handling, optimize patch

This commit is contained in:
2024-01-27 07:25:30 +05:30
parent c5c95499af
commit f16738fe60
2 changed files with 12 additions and 29 deletions

View File

@@ -34,7 +34,7 @@ class GlobalModel extends ChangeNotifier {
} else {
return "";
}
} on SocketException catch (exce) {
} on (ClientException, SocketException, HttpException) catch (exce) {
print("Unable to download hash");
print(exce);
return "";