repo: janusweb
action: commit
revision: 
path_from: 
revision_from: dbf45e3e3b64de8aa632ff605f04a1180fe45834:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit dbf45e3e3b64de8aa632ff605f04a1180fe45834
Author: James Baicoianu 
Date:   Fri Feb 3 00:53:56 2017 -0800

    Send message with error

diff --git a/scripts/tracking.js b/scripts/tracking.js
index d9f197df4b14e62b89fc84fe9502c715ee6ce93c..
index ..4dc533accf7c09191ec57b93c3e7e7030f03ba8d 100644
--- a/scripts/tracking.js
+++ b/scripts/tracking.js
@@ -148,7 +148,7 @@ var el = document.pointerLockElement || document.mozPointerLockElement

     });
     elation.events.add(window, 'error', function(msg) {
-      ga('send', 'event', 'client', 'error', msg);
+      ga('send', 'event', 'client', 'error', msg.message);
     });
   }
 });

-----END OF PAGE-----