diff --git a/NEWINSTALL b/NEWINSTALL deleted file mode 100644 index 8b137891..00000000 --- a/NEWINSTALL +++ /dev/null @@ -1 +0,0 @@ - diff --git a/gluon/tools.py b/gluon/tools.py index 2156d425..e6456f6d 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -4454,7 +4454,7 @@ class Service(object): except BaseException: etype, eval, etb = sys.exc_info() code = -32099 - data = '%s: %s\n' % (etype.__name__, eval) + str(request.is_local and traceback.format_tb(etb)) + data = '%s: %s\n' % (etype.__name__, eval) + str(current.request.is_local and traceback.format_tb(etb)) return return_error(id, code, data=data) except: etype, eval, etb = sys.exc_info()