summaryrefslogtreecommitdiff
path: root/ext/js/app/frontend.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/app/frontend.js')
-rw-r--r--ext/js/app/frontend.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/app/frontend.js b/ext/js/app/frontend.js
index 74cc63d2..02707f41 100644
--- a/ext/js/app/frontend.js
+++ b/ext/js/app/frontend.js
@@ -276,7 +276,7 @@ class Frontend {
this._showExtensionUnloaded(textSource);
}
} else {
- yomichan.logError(error);
+ log.error(error);
}
} if (type !== null) {
this._stopClearSelectionDelayed();
@@ -563,7 +563,7 @@ class Frontend {
);
this._lastShowPromise.catch((error) => {
if (yomichan.isExtensionUnloaded) { return; }
- yomichan.logError(error);
+ log.error(error);
});
return this._lastShowPromise;
}