Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/a200308578426382_add_raise'
Browse files Browse the repository at this point in the history
  • Loading branch information
vmaksymiv committed Dec 2, 2016
2 parents efa7110 + b3df731 commit 5593391
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openprocurement/contracting/api/databridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ def get_tender_contracts_forward(self):
# TODO reset queues and restart sync
logger.warn('Forward worker died!', extra=journal_context({"MESSAGE_ID": DATABRIDGE_WORKER_DIED}, {}))
logger.exception(e)
raise
else:
logger.warn('Forward data sync finished!', extra=journal_context({"MESSAGE_ID": DATABRIDGE_WORKER_DIED}, {})) # Should never happen!!!

Expand All @@ -426,6 +427,7 @@ def get_tender_contracts_backward(self):
# TODO reset queues and restart sync
logger.warn('Backward worker died!', extra=journal_context({"MESSAGE_ID": DATABRIDGE_WORKER_DIED}, {}))
logger.exception(e)
raise
else:
logger.info('Backward data sync finished.')

Expand Down

0 comments on commit 5593391

Please sign in to comment.