connectors/ERPC/__init__.py
changeset 3898 de4f17d737a9
parent 3887 2df45e4bd500
child 3908 32eb6e05008a
--- 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)