Remove debug call

This commit is contained in:
amercader 2015-04-08 10:24:36 +01:00
parent a96d134f1e
commit ba2656287d
1 changed files with 0 additions and 1 deletions

View File

@ -126,7 +126,6 @@ class SpatialMetadata(p.SingletonPlugin):
error_dict = {'spatial':[u'Error creating geometry: %s' % str(e)]}
raise p.toolkit.ValidationError(error_dict, error_summary=package_error_summary(error_dict))
except Exception, e:
raise
if bool(os.getenv('DEBUG')):
raise
error_dict = {'spatial':[u'Error: %s' % str(e)]}