Permalink
Browse files

added version to error

  • Loading branch information...
vogievetsky committed Aug 19, 2012
1 parent a490fbe commit 91aaef6454887bb806a7f1603f7c36a49552f1c4
Showing with 3 additions and 1 deletion.
  1. +3 −1 index.html
View
@@ -59,9 +59,11 @@
}
}
+ var version = '1.5.2';
+
// If an error happens I want to know about it!
window.onerror = function(message, url, linenumber) {
- track('OnError', "Er: '" + message + "' in '" + url + "' @ " + linenumber + " /u:'" + window.navigator.userAgent + "'");
+ track('OnError-' + version, "'" + message + "' in '" + url + "' @ " + linenumber + " /u:'" + window.navigator.userAgent + "'");
};
if (!koala.supportsCanvas()) {

0 comments on commit 91aaef6

Please sign in to comment.