Popup error dialog when processing unknown exception
issue6898 review37811002
This commit is contained in:
1 parent
e4ecd0c91a
commit
bb0db6fed7
1 file changed
+4
@@ -1054,6 +1054,10 @@ def process_exception(exception, *args, **kwargs):
|
||||
except TrytonServerError, exception:
|
||||
return process_exception(exception, *args,
|
||||
rpc_execute=rpc_execute)
|
||||
else:
|
||||
error(exception.faultCode, exception.faultString)
|
||||
else:
|
||||
error(str(exception), traceback.format_exc())
|
||||
raise RPCException(exception)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user