[go: nahoru, domu]

Skip to content

Commit

Permalink
ErrorEvent.error isn't always set
Browse files Browse the repository at this point in the history
It's not just a matter of the browser lacking support.
  • Loading branch information
CendioOssman committed Mar 27, 2017
1 parent 13c558e commit 5da0310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/error-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
msg.appendChild(div);
}

if ((err !== undefined) &&
if (err &&
(err.stack !== undefined)) {
div = document.createElement("div");
div.className = 'noVNC_stack';
Expand Down

0 comments on commit 5da0310

Please sign in to comment.