Add missing retryable error types
This commit is contained in:
parent
e074ba3d40
commit
aeadb98cb4
@ -246,7 +246,7 @@ extension BackupImportSource {
|
||||
libsignalNet: libsignalNet,
|
||||
nonceStore: nonceStore,
|
||||
)
|
||||
case .connectionFailed, .connectionTimeoutError, .ioError:
|
||||
case .connectionFailed, .connectionTimeoutError, .ioError, .webSocketError:
|
||||
// Network-level failures mostly end up in these buckets;
|
||||
// these can be retried automatically.
|
||||
throw .retryableAutomatically
|
||||
@ -437,7 +437,7 @@ extension BackupExportPurpose {
|
||||
libsignalNet: libsignalNet,
|
||||
nonceStore: nonceStore,
|
||||
)
|
||||
case .connectionFailed, .connectionTimeoutError, .ioError:
|
||||
case .connectionFailed, .connectionTimeoutError, .ioError, .webSocketError:
|
||||
// Network-level failures mostly end up in these buckets;
|
||||
// these can be retried automatically.
|
||||
throw .retryableAutomatically
|
||||
|
||||
Loading…
Reference in New Issue
Block a user