mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-29 22:16:05 +00:00
Add "Connection reset by peer" error to ignored errors
This commit is contained in:
parent
03f5544545
commit
861ba81531
1 changed files with 2 additions and 1 deletions
|
@ -106,6 +106,7 @@ class ExceptionHandler {
|
|||
/// Ignore User related errors or system errors
|
||||
static bool _ignoreError(String error) {
|
||||
return error.contains("errno = 103") || // SocketException: Software caused connection abort
|
||||
error.contains("errno = 9"); // SocketException: Bad file descriptor (iOS socket exception)
|
||||
error.contains("errno = 9") || // SocketException: Bad file descriptor
|
||||
error.contains("errno = 54"); // SocketException: Connection reset by peer
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue