diff --git a/js/logging.js b/js/logging.js index 757472ee520e..9d07f1a084a0 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); };