Track JS errors as analytics events
This commit is contained in:
parent
9b8b150766
commit
b51cea769f
1 changed files with 2 additions and 0 deletions
|
|
@ -51,6 +51,8 @@
|
|||
} else {
|
||||
logError(errorMsg);
|
||||
}
|
||||
|
||||
trackEvent('/error', errorMsg);
|
||||
} catch(err) {}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue