summaryrefslogtreecommitdiff
path: root/ext/js/language
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/language')
-rw-r--r--ext/js/language/dictionary-database.js2
-rw-r--r--ext/js/language/text-scanner.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/language/dictionary-database.js b/ext/js/language/dictionary-database.js
index b363ed25..62c22289 100644
--- a/ext/js/language/dictionary-database.js
+++ b/ext/js/language/dictionary-database.js
@@ -122,7 +122,7 @@ class DictionaryDatabase {
await Database.deleteDatabase(this._dbName);
result = true;
} catch (e) {
- yomichan.logError(e);
+ log.error(e);
}
await this.prepare();
return result;
diff --git a/ext/js/language/text-scanner.js b/ext/js/language/text-scanner.js
index e91498ba..073b1a6c 100644
--- a/ext/js/language/text-scanner.js
+++ b/ext/js/language/text-scanner.js
@@ -830,7 +830,7 @@ class TextScanner extends EventDispatcher {
}
}
} catch (e) {
- yomichan.logError(e);
+ log.error(e);
} finally {
this._pendingLookup = false;
}