[CORD-2696] Printing stacktrace for gRPC errors

Change-Id: I6a31a38ab5aa775b67d867a083e2491840e02dbb
diff --git a/xos/coreapi/apihelper.py b/xos/coreapi/apihelper.py
index 3894ce8..7c8c6a0 100644
--- a/xos/coreapi/apihelper.py
+++ b/xos/coreapi/apihelper.py
@@ -69,6 +69,11 @@
             return function(*args, **kwargs)
         except Exception as e:
 
+            import traceback
+            tb = traceback.format_exc()
+            print tb
+            # TODO can we propagate it over the APIs?
+
             if "context" in kwargs:
                 context = kwargs["context"]
             else: