From 8832e29508b0ad91e53d089870d83863356dbb5c Mon Sep 17 00:00:00 2001 From: Stefan Reinhard Date: Mon, 2 Sep 2013 14:23:21 +0200 Subject: [PATCH] reraise exceptions --- ckanext/fso/harvesters/fsoharvester.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ckanext/fso/harvesters/fsoharvester.py b/ckanext/fso/harvesters/fsoharvester.py index 7c16ae8..a4df45b 100644 --- a/ckanext/fso/harvesters/fsoharvester.py +++ b/ckanext/fso/harvesters/fsoharvester.py @@ -262,6 +262,7 @@ def fetch_stage(self, harvest_object): return True except Exception, e: log.exception(e) + raise def import_stage(self, harvest_object): log.debug('In FSOHarvester import_stage') @@ -321,4 +322,5 @@ def import_stage(self, harvest_object): except Exception, e: log.exception(e) + raise return True