ErrorEvent.error isn't always set
It's not just a matter of the browser lacking support.
This commit is contained in:
parent
13c558e3a0
commit
5da03103a3
@ -29,7 +29,7 @@
|
||||
msg.appendChild(div);
|
||||
}
|
||||
|
||||
if ((err !== undefined) &&
|
||||
if (err &&
|
||||
(err.stack !== undefined)) {
|
||||
div = document.createElement("div");
|
||||
div.className = 'noVNC_stack';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user