Remove forgotten debug prints
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Wed, 21 Feb 2024 09:58:24 +0100
changeset 3898 de4f17d737a9
parent 3897 fc3621302cfe
child 3899 31b0f3468175
Remove forgotten debug prints
connectors/ERPC/__init__.py
runtime/eRPCServer.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)
--- 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: