[GRASS-SVN] r66552 - grass/trunk/lib/python/pygrass/rpc
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Oct 21 03:07:51 PDT 2015
Author: huhabla
Date: 2015-10-21 03:07:51 -0700 (Wed, 21 Oct 2015)
New Revision: 66552
Modified:
grass/trunk/lib/python/pygrass/rpc/base.py
Log:
Better error message for test cases
Modified: grass/trunk/lib/python/pygrass/rpc/base.py
===================================================================
--- grass/trunk/lib/python/pygrass/rpc/base.py 2015-10-21 09:50:59 UTC (rev 66551)
+++ grass/trunk/lib/python/pygrass/rpc/base.py 2015-10-21 10:07:51 UTC (rev 66552)
@@ -163,7 +163,7 @@
except (EOFError, IOError, FatalError), e:
# The pipe was closed by the checker thread because
# the server process was killed
- raise FatalError(message + "\n " + str(e))
+ raise FatalError("Exception raised: " + str(e) + " Message: " + message)
def stop(self):
"""Stop the check thread, the libgis server and close the pipe
More information about the grass-commit
mailing list