Skip to content

Commit 0137fff

Browse files
authored
chore: update console.error calls (#1983)
1 parent 92dea44 commit 0137fff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

injected/src/features/autofill-import.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ export default class AutofillImport extends ActionExecutorBase {
477477
}
478478
}
479479
} catch {
480-
console.error('password-import: failed for path:', pathname);
480+
this.log.error('password-import: failed for path:', pathname);
481481
}
482482
}
483483
}

injected/src/features/broker-protection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class ActionExecutorBase extends ContentFeature {
4040
return this.messaging.notify('actionError', { error: 'No response found, exceptions: ' + exceptions.join(', ') });
4141
}
4242
} catch (e) {
43-
console.log('unhandled exception: ', e);
43+
this.log.error('unhandled exception: ', e);
4444
return this.messaging.notify('actionError', { error: e.toString() });
4545
}
4646
}

0 commit comments

Comments
 (0)