diff --git a/injected/src/features/autofill-import.js b/injected/src/features/autofill-import.js index eb0b202653..35bdffb650 100644 --- a/injected/src/features/autofill-import.js +++ b/injected/src/features/autofill-import.js @@ -477,7 +477,7 @@ export default class AutofillImport extends ActionExecutorBase { } } } catch { - console.error('password-import: failed for path:', pathname); + this.log.error('password-import: failed for path:', pathname); } } } diff --git a/injected/src/features/broker-protection.js b/injected/src/features/broker-protection.js index a473490b9f..05294dc88e 100644 --- a/injected/src/features/broker-protection.js +++ b/injected/src/features/broker-protection.js @@ -40,7 +40,7 @@ export class ActionExecutorBase extends ContentFeature { return this.messaging.notify('actionError', { error: 'No response found, exceptions: ' + exceptions.join(', ') }); } } catch (e) { - console.log('unhandled exception: ', e); + this.log.error('unhandled exception: ', e); return this.messaging.notify('actionError', { error: e.toString() }); } }