From 319d4cb6670729708c19ad50b0146d1bcb7b4719 Mon Sep 17 00:00:00 2001 From: PliablePixels Date: Sat, 27 Jun 2015 09:52:06 -0400 Subject: Added ability to log key events to file and email (useful for release debugging) --- www/js/EventCtrl.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/js/EventCtrl.js') diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index 284c0147..e4ac3516 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -208,7 +208,7 @@ angular.module('zmApp.controllers').controller('zmApp.EventCtrl', ['$ionicPlatfo //-------------------------------------------------------- this.pollEventsProgress = function() { - console.log ("**************"); + // console.log ("**************"); }; //-------------------------------------------------------- @@ -322,6 +322,7 @@ angular.module('zmApp.controllers').controller('zmApp.EventCtrl', ['$ionicPlatfo req.error(function (resp) { console.log("ERROR: " + JSON.stringify(resp)); + ZMDataModel.zmLog("Error sending event command " +JSON.stringify(resp), "error"); }); }; -- cgit v1.2.3