Use the logging to display the error message
This commit is contained in:
parent
1f7661ff12
commit
61af4d1143
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
/* read_universal
|
||||
Read a file stored in the universal strings. */
|
||||
|
||||
import logging from "/scripts/logging.js";
|
||||
|
||||
export default class texts {
|
||||
/* This reads the message from its source. This is a fallback for the content scripts, who doesn't appear to read classes.
|
||||
|
||||
|
@ -54,7 +56,7 @@ export default class texts {
|
|||
return (SYMBOL);
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error(error);
|
||||
logging.error(error.name, null, null, false);
|
||||
}));
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue