mirror of https://github.com/laurent22/joplin.git
Mobile,Desktop,Cli: Logging: Log less information at level `warn` when a decryption error occurs (#11771)
parent
a16a66c37b
commit
8312196faa
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue