Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
log the exception stack if available
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Sep 26, 2013
1 parent 927e8ca commit 33af5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wrappers/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
if (window.onerror)
window.onerror(ex.message);
else
console.error(ex);
console.error(ex, ex.stack);
}
}

Expand Down

0 comments on commit 33af5d8

Please sign in to comment.