Browse Source

Better error message for test cases

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@66552 15284696-431f-4ddb-bdfa-cd5b030d7da7
Soeren Gebbert 9 years ago
parent
commit
a2febc95d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/python/pygrass/rpc/base.py

+ 1 - 1
lib/python/pygrass/rpc/base.py

@@ -163,7 +163,7 @@ class RPCServerBase(object):
         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