Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var startErrorTracking = function(){
- window.addEventListener('error', function (err) {
- var lineAndColumnInfo = err.colno ? ' line:' + err.lineno +', column:'+ err.colno : ' line:' + err.lineno;
- push.call(this, 'FrontendError',
- err.message,
- err.filename + lineAndColumnInfo + ' -> ' + navigator.userAgent);
- });
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement