# HG changeset patch # User Edouard Tisserant # Date 1708505904 -3600 # Node ID de4f17d737a9cbe83bff66727df4ee1c143c5768 # Parent fc3621302cfe2b4549d63a74bf8ba4837d90788e Remove forgotten debug prints diff -r fc3621302cfe -r de4f17d737a9 connectors/ERPC/__init__.py --- a/connectors/ERPC/__init__.py Tue Feb 20 14:53:33 2024 +0100 +++ b/connectors/ERPC/__init__.py Wed Feb 21 09:58:24 2024 +0100 @@ -106,7 +106,6 @@ def exception_wrapper(self, *args): try: - print("Clt "+method_name) return return_wrapper(client_method, self, args_wrapper, *args) except erpc.transport.ConnectionClosed as e: confnodesroot._SetConnector(None) @@ -118,10 +117,9 @@ except MissingCallException as e: confnodesroot.logger.write_warning(_("Remote call not supported: %s\n") % e.message) except Exception as e: - errmess = _("Exception calling remote PLC object fucntio %s:\n") % method_name \ + errmess = _("Exception calling remote PLC object fucntion %s:\n") % method_name \ + traceback.format_exc() confnodesroot.logger.write_error(errmess + "\n") - print(errmess) confnodesroot._SetConnector(None) return self.PLCObjDefaults.get(method_name) diff -r fc3621302cfe -r de4f17d737a9 runtime/eRPCServer.py --- a/runtime/eRPCServer.py Tue Feb 20 14:53:33 2024 +0100 +++ b/runtime/eRPCServer.py Wed Feb 21 09:58:24 2024 +0100 @@ -70,7 +70,6 @@ def exception_wrapper(self, *args): try: - print("Srv "+method_name) return_wrapper(method, args_wrapper, *args) return 0 except Exception as e: