mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 18:03:14 +08:00
Crashlytics: Ignore another network error
This commit is contained in:
@ -13,6 +13,9 @@ bool shouldIgnorePlatformException(PlatformException ex) {
|
|||||||
if (ex.message.contains("failed to resolve address for")) {
|
if (ex.message.contains("failed to resolve address for")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (ex.message.contains("No address associated with hostname")) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user