mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-24 02:39:55 +01:00
Add additional logging on failed backup validations.
This commit is contained in:
@@ -152,7 +152,7 @@ class InternalBackupPlaygroundViewModel : ViewModel() {
|
||||
is ArchiveValidator.ValidationResult.ReadError -> "Failed to read backup file!"
|
||||
ArchiveValidator.ValidationResult.Success -> "Validation passed!"
|
||||
is ArchiveValidator.ValidationResult.ValidationError -> {
|
||||
Log.w(TAG, "Validation failed!", result.exception)
|
||||
Log.w(TAG, "Validation failed! Details: ${result.messageDetails}", result.exception)
|
||||
"Validation failed :( Check the logs for details."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user