mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Add "Connection reset by peer" error to ignored errors
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user