Revert "fixed request missing current prefix causing wrongly handled exceptions."
This reverts commit 8c28be1041.
Removed NEWINSTALL by error.
This commit is contained in:
1
NEWINSTALL
Normal file
1
NEWINSTALL
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
@@ -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(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)
|
||||
except:
|
||||
etype, eval, etb = sys.exc_info()
|
||||
|
||||
Reference in New Issue
Block a user