[GRASS-SVN] r59908 - grass/trunk/temporal/t.register
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Apr 23 10:48:48 PDT 2014
Author: martinl
Date: 2014-04-23 10:48:48 -0700 (Wed, 23 Apr 2014)
New Revision: 59908
Modified:
grass/trunk/temporal/t.register/t.register.py
Log:
t.register: catch exception and print fatal error
Modified: grass/trunk/temporal/t.register/t.register.py
===================================================================
--- grass/trunk/temporal/t.register/t.register.py 2014-04-23 16:08:36 UTC (rev 59907)
+++ grass/trunk/temporal/t.register/t.register.py 2014-04-23 17:48:48 UTC (rev 59908)
@@ -124,5 +124,8 @@
if __name__ == "__main__":
options, flags = grass.parser()
-
- tgis.profile_function(main)
+
+ try:
+ tgis.profile_function(main)
+ except StandardError, e:
+ grass.fatal(e)
More information about the grass-commit
mailing list