diff --git a/src/app/domain/backup/services/manageBackup.ts b/src/app/domain/backup/services/manageBackup.ts index e04c653ac..ca8802209 100644 --- a/src/app/domain/backup/services/manageBackup.ts +++ b/src/app/domain/backup/services/manageBackup.ts @@ -238,11 +238,16 @@ const initializeBackup = async ( try { localBackupConfig = await fixLocalBackupConfigIfNecessary(client) } catch (e) { + log.debug('Error trying to fix local backup config', e) + if (e instanceof Error) { if ( e.message === 'Remote backup folder has been trashed.' || e.message === 'Remote backup folder has been deleted.' ) { + log.debug( + 'Reseting local backup config because folder has been trashed or deleted' + ) return await initializeLocalBackupConfig(client) } }