Skip to content

Commit

Permalink
Merge pull request #2934 from ckan/raise-better
Browse files Browse the repository at this point in the history
Better stacktrace for broken SOLR
  • Loading branch information
wardi committed Mar 31, 2016
2 parents e55dfca + 617f6e2 commit ef96305
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/model/modification.py
Expand Up @@ -88,7 +88,7 @@ def notify(self, entity, operation):
log.exception(search_error)
# Reraise, since it's pretty crucial to ckan if it can't index
# a dataset
raise search_error
raise
except Exception, ex:
log.exception(ex)
# Don't reraise other exceptions since they are generally of
Expand All @@ -103,7 +103,7 @@ def notify_after_commit(self, entity, operation):
log.exception(search_error)
# Reraise, since it's pretty crucial to ckan if it can't index
# a dataset
raise search_error
raise
except Exception, ex:
log.exception(ex)
# Don't reraise other exceptions since they are generally of
Expand Down

0 comments on commit ef96305

Please sign in to comment.