add catch all failure to prevent analytics plugin from crashing microgateway
diff --git a/analytics/index.js b/analytics/index.js
index d2d7bdf..986d953 100644
--- a/analytics/index.js
+++ b/analytics/index.js
@@ -35,7 +35,12 @@
     testprobe: function() { return analytics },
 
     onrequest: function(req, res, next) {
-      middleware(req, res, next);
+      try {
+          middleware(req, res, next);
+      } catch (e) {
+        console.error("Error encountered when attempting to push analytics to Apigee cloud.  Continuing request ", e);
+        next();
+      }
     }
 
   };