diff options
Diffstat (limited to 'ext/js/display/display.js')
-rw-r--r-- | ext/js/display/display.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/js/display/display.js b/ext/js/display/display.js index 553c17e7..b7477bb8 100644 --- a/ext/js/display/display.js +++ b/ext/js/display/display.js @@ -272,7 +272,7 @@ class Display extends EventDispatcher { onError(error) { if (yomichan.isExtensionUnloaded) { return; } - yomichan.logError(error); + log.error(error); } getOptions() { @@ -1552,7 +1552,7 @@ class Display extends EventDispatcher { } await this._frontendSetupPromise; } catch (e) { - yomichan.logError(e); + log.error(e); return; } finally { this._frontendSetupPromise = null; @@ -1721,7 +1721,7 @@ class Display extends EventDispatcher { _onDefinitionTextScannerSearched({type, definitions, sentence, textSource, optionsContext, error}) { if (error !== null && !yomichan.isExtensionUnloaded) { - yomichan.logError(error); + log.error(error); } if (type === null) { return; } |