window.onerror: move to proper window.log.error call (#1528)

FREEBIE
This commit is contained in:
Scott Nonnenberg 2017-10-02 14:13:27 -07:00 committed by GitHub
parent 03f8c2c4e0
commit f070bc4299

View file

@ -141,6 +141,6 @@ window.log = {
};
window.onerror = function(message, script, line, col, error) {
log.error(error.stack);
window.log.error(error.stack);
};