Just use console.error, it's in all browsers

This commit is contained in:
Aarni Koskela 2023-05-25 09:00:45 +03:00
parent a6e653be26
commit f661fb0fd3
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ function runCallback(x, m) {
try {
x(m);
} catch (e) {
(console.error || console.log).call(console, e.message, e);
console.error("error running callback", x, ":", e);
}
}
function executeCallbacks(queue, m) {