chore: Clean up log

This commit is contained in:
Ahmad Ansori Palembani 2024-10-12 08:13:45 +07:00
parent 6ba22b9e45
commit fe2bdc3846
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -107,7 +107,7 @@ class BackupCreator(
return fileUri.toString()
} catch (e: Exception) {
Logger.e(e) { if (file == null) "Unable to retrieve backup destination" else "Invalid backup destination" }
Logger.e(e) { "Backup failed: ${e.message}" }
file?.delete()
throw e
}