Dockerfile build worker should not report inner JobException's twice

This commit is contained in:
Joseph Schorr 2014-07-11 12:05:52 -04:00
parent 8ada6f0d50
commit 8b3659fefa

View file

@ -545,6 +545,10 @@ class DockerfileBuildWorker(Worker):
# Need a separate handler for this so it doesn't get caught by catch all below
raise exc
except JobException as exc:
# Need a separate handler for this so it doesn't get caught by catch all below
raise exc
except Exception as exc:
sentry.client.captureException()
log_appender('error', build_logs.PHASE)