소스 검색

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 년 전
부모
커밋
a2febc95d3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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