From 8dd057cd5b3e2c4666e3c7cda1e4dd91fa83c8e1 Mon Sep 17 00:00:00 2001 From: Alex Pankratov Date: Wed, 19 Feb 2020 13:38:03 +0100 Subject: [PATCH] + cb1/cb2 placeholders --- nullboard.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nullboard.html b/nullboard.html index 076630d..4e84aca 100644 --- a/nullboard.html +++ b/nullboard.html @@ -1015,11 +1015,13 @@ * poor man's error handling -- $fixme */ window.onerror = function(message, file, line, col, e){ + var cb1; alert("Error occurred: " + e.message); return false; }; window.addEventListener("error", function(e) { + var cb2; alert("Error occurred: " + e.error.message); return false; })