From f070bc4299f75b9dfca11b1bc4d39ef6ade5d9be Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Mon, 2 Oct 2017 14:13:27 -0700 Subject: [PATCH] window.onerror: move to proper window.log.error call (#1528) FREEBIE --- js/logging.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/logging.js b/js/logging.js index 757472ee5..9d07f1a08 100644 --- a/js/logging.js +++ b/js/logging.js @@ -141,6 +141,6 @@ window.log = { }; window.onerror = function(message, script, line, col, error) { - log.error(error.stack); + window.log.error(error.stack); };