Mobile,Desktop,Cli: Logging: Log less information at level `warn` when a decryption error occurs (#11771)

pull/11795/head^2
Henry Heino 2025-02-06 09:56:16 -08:00 committed by GitHub
parent a16a66c37b
commit 8312196faa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -254,7 +254,8 @@ export default class DecryptionWorker {
}
if (options.errorHandler === 'log') {
this.logger().warn(`DecryptionWorker: error for: ${item.id} (${ItemClass.tableName()})`, error, item);
this.logger().warn(`DecryptionWorker: error for: ${item.id} (${ItemClass.tableName()})`, error);
this.logger().debug('Item with error:', item);
} else {
throw error;
}