Merge "Correct swift reraising of exception"
This commit is contained in:
commit
41246c9e6d
@ -386,8 +386,8 @@ class HTMLViewer(object):
|
||||
else:
|
||||
data = stats.print_stats()
|
||||
return data, [('content-type', self.format_dict[output_format])]
|
||||
except ODFLIBNotInstalled as ex:
|
||||
raise ex
|
||||
except ODFLIBNotInstalled:
|
||||
raise
|
||||
except Exception as ex:
|
||||
raise ProfileException(_('Data download error: %s') % ex)
|
||||
|
||||
|
@ -429,8 +429,6 @@ class ContainerSync(Daemon):
|
||||
sync_stage_time = time()
|
||||
self.container_syncs += 1
|
||||
self.logger.increment('syncs')
|
||||
except Exception as ex:
|
||||
raise ex
|
||||
finally:
|
||||
self.container_report(start_at, sync_stage_time,
|
||||
sync_point1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user