diff --git a/ckanext/spatial/plugin.py b/ckanext/spatial/plugin.py index ffba73c..0c4979e 100644 --- a/ckanext/spatial/plugin.py +++ b/ckanext/spatial/plugin.py @@ -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)]}