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