And the fate of /gui is sealed
Make sure that the proper files that are not in `/gui` are loaded.
This commit is contained in:
parent
527d7b6835
commit
0059314655
10 changed files with 9 additions and 82 deletions
|
@ -64,7 +64,7 @@ export default class logging {
|
|||
*/
|
||||
static async error(ERROR_CODE, ERROR_MESSAGE, ERROR_STACK, critical = true) {
|
||||
// Import the templating.
|
||||
const texts = (await import(chrome.runtime.getURL("gui/scripts/read.js"))).default;
|
||||
const texts = (await import(chrome.runtime.getURL("/scripts/strings/read.js"))).default;
|
||||
|
||||
// Display the error message.
|
||||
console.error(texts.localized(`error_msg`, false, [ERROR_CODE, ERROR_MESSAGE, ERROR_STACK]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue