mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
Just use console.error, it's in all browsers
This commit is contained in:
parent
a6e653be26
commit
f661fb0fd3
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue