File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/common/src/attachments Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export class SyncingService {
8686 hasSynced : true
8787 } ;
8888 } catch ( error ) {
89- const shouldRetry = this . errorHandler ?. onUploadError ( attachment , error ) ?? false ;
89+ const shouldRetry = this . errorHandler ?. onUploadError ( attachment , error ) ?? true ;
9090 if ( ! shouldRetry ) {
9191 return {
9292 ...attachment ,
@@ -119,7 +119,7 @@ export class SyncingService {
119119 localUri : localUri
120120 } ;
121121 } catch ( error ) {
122- const shouldRetry = this . errorHandler ?. onDownloadError ( attachment , error ) ?? false ;
122+ const shouldRetry = this . errorHandler ?. onDownloadError ( attachment , error ) ?? true ;
123123 if ( ! shouldRetry ) {
124124 return {
125125 ...attachment ,
@@ -154,7 +154,7 @@ export class SyncingService {
154154 localUri : null
155155 } ;
156156 } catch ( error ) {
157- const shouldRetry = this . errorHandler ?. onDeleteError ( attachment , error ) ?? false ;
157+ const shouldRetry = this . errorHandler ?. onDeleteError ( attachment , error ) ?? true ;
158158 if ( ! shouldRetry ) {
159159 return {
160160 ...attachment ,
You can’t perform that action at this time.
0 commit comments