Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

Commit

Permalink
raise error when failing to connect to artifact store, so we can retr…
Browse files Browse the repository at this point in the history
…y the jobstep

Summary:
This should hopefully fix the issue where we post to artifact store, but changes doesn't pick up the posted artifacts.

Fixes T119685 hopefully.

Reviewers: kylec, anupc

Reviewed By: anupc

Subscribers: wwu

Maniphest Tasks: T119685

Differential Revision: https://tails.corp.dropbox.com/D234476
  • Loading branch information
Naphat Sanguansin committed Oct 5, 2016
1 parent 4656893 commit 4d01dfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions changes/jobs/sync_job_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ def _sync_from_artifact_store(jobstep):
else:
# Log to sentry - unable to contact artifacts store
current_app.logger.warning('Error fetching url %s: %s', url, err, exc_info=True)
raise
except Exception as err:
current_app.logger.error('Error updating artifacts for jobstep %s: %s', jobstep, err, exc_info=True)
raise err
Expand Down

0 comments on commit 4d01dfa

Please sign in to comment.