mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-28 04:34:21 +01:00
Do not swallow IOException during backup creation.
This commit is contained in:
committed by
jeffrey-signal
parent
b57d922cdf
commit
bef4bb40ca
@@ -496,6 +496,11 @@ class BackupMessagesJob private constructor(
|
||||
this.dataFile = ""
|
||||
BackupRepository.markBackupCreationFailed(BackupValues.BackupCreationError.NOT_ENOUGH_DISK_SPACE)
|
||||
return BackupFileResult.Failure
|
||||
} else {
|
||||
Log.w(TAG, "Exception during backup export", e)
|
||||
tempBackupFile.delete()
|
||||
this.dataFile = ""
|
||||
return BackupFileResult.Retry
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user