Popup error dialog when processing unknown exception

issue6898
review37811002
This commit is contained in:
Cédric Krier committed 2017-11-02 15:27:24 +01:00
1 parent e4ecd0c91a
commit bb0db6fed7
1 file changed
+4
+4
View File
@@ -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)