Skip to content

Commit

Permalink
🔥 docs hot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-dimitru committed Feb 2, 2019
1 parent 127abdd commit 323e537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 323e537

Please sign in to comment.