Revert "fixed request missing current prefix causing wrongly handled exceptions."
This reverts commit 8c28be1041.
Removed NEWINSTALL by error.
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
+1
-1
@@ -4454,7 +4454,7 @@ class Service(object):
|
|||||||
except BaseException:
|
except BaseException:
|
||||||
etype, eval, etb = sys.exc_info()
|
etype, eval, etb = sys.exc_info()
|
||||||
code = -32099
|
code = -32099
|
||||||
data = '%s: %s\n' % (etype.__name__, eval) + str(current.request.is_local and traceback.format_tb(etb))
|
data = '%s: %s\n' % (etype.__name__, eval) + str(request.is_local and traceback.format_tb(etb))
|
||||||
return return_error(id, code, data=data)
|
return return_error(id, code, data=data)
|
||||||
except:
|
except:
|
||||||
etype, eval, etb = sys.exc_info()
|
etype, eval, etb = sys.exc_info()
|
||||||
|
|||||||
Reference in New Issue
Block a user