aboutsummaryrefslogtreecommitdiff
path: root/ext/js/settings/backup-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/settings/backup-controller.js')
-rw-r--r--ext/js/settings/backup-controller.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/settings/backup-controller.js b/ext/js/settings/backup-controller.js
index 117f2422..649645d4 100644
--- a/ext/js/settings/backup-controller.js
+++ b/ext/js/settings/backup-controller.js
@@ -173,7 +173,7 @@ class BackupController {
}
_showSettingsImportError(error) {
- yomichan.logError(error);
+ log.error(error);
document.querySelector('#settings-import-error-message').textContent = `${error}`;
this._settingsImportErrorModal.setVisible(true);
}
@@ -412,7 +412,7 @@ class BackupController {
try {
await this._settingsImportSetOptionsFull(optionsFull);
} catch (e) {
- yomichan.logError(e);
+ log.error(e);
}
}
}