From 8b3659fefa0c37c2b7736aaa4da6bb644f72d5dd Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Fri, 11 Jul 2014 12:05:52 -0400 Subject: [PATCH] Dockerfile build worker should not report inner JobException's twice --- workers/dockerfilebuild.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/workers/dockerfilebuild.py b/workers/dockerfilebuild.py index 858a13863..dbb8d0aa0 100644 --- a/workers/dockerfilebuild.py +++ b/workers/dockerfilebuild.py @@ -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)