From 323e5370769fd15765cf5c0afbb6171519bd374b Mon Sep 17 00:00:00 2001 From: "dr.dimitru" Date: Sat, 2 Feb 2019 00:07:37 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20docs=20hot=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d45512b..0ef4609 100755 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ throw log.error(message, data, userId); /* Store original window.onerror */ const _GlobalErrorHandler = window.onerror; -window.onerror = (msg, url, line) => { +window.onerror = function (msg, url, line) { log.error(msg, {file: url, onLine: line}); if (_GlobalErrorHandler) { _GlobalErrorHandler.apply(this, arguments);