]> git.proxmox.com Git - mirror_novnc.git/blobdiff - app/error-handler.js
Update browser test list
[mirror_novnc.git] / app / error-handler.js
index e5a6adbe8499fb2d0dec45f1849ed5d9775b66e3..5a2650fa87fa90b3cb0a3ca63ffd7e65d8ba171c 100644 (file)
@@ -35,7 +35,7 @@
                 msg.appendChild(div);
             }
 
-            if (err && (err.stack !== undefined)) {
+            if (err && err.stack) {
                 div = document.createElement("div");
                 div.className = 'noVNC_stack';
                 div.appendChild(document.createTextNode(err.stack));