add "\n" to logger when pyro fall in error
authorgreg
Thu, 28 May 2009 13:29:23 +0200
changeset 349 24d4e48714ed
parent 348 054fbf1ae0f8
child 350 a3a5561bde1d
add "\n" to logger when pyro fall in error
connectors/PYRO/__init__.py
--- a/connectors/PYRO/__init__.py	Thu May 28 07:47:38 2009 +0200
+++ b/connectors/PYRO/__init__.py	Thu May 28 13:29:23 2009 +0200
@@ -50,7 +50,7 @@
                 return func(*args,**kwargs)
             except PyroError,e:
                 #pluginsroot.logger.write_error(traceback.format_exc())
-                pluginsroot.logger.write_error(str(e))
+                pluginsroot.logger.write_error(str(e)+"\n")
                 pluginsroot._Disconnect()
                 return default
         return catcher_func