Dockerfile build worker should not report inner JobException's twice
This commit is contained in:
parent
8ada6f0d50
commit
8b3659fefa
1 changed files with 4 additions and 0 deletions
|
@ -545,6 +545,10 @@ class DockerfileBuildWorker(Worker):
|
||||||
# Need a separate handler for this so it doesn't get caught by catch all below
|
# Need a separate handler for this so it doesn't get caught by catch all below
|
||||||
raise exc
|
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:
|
except Exception as exc:
|
||||||
sentry.client.captureException()
|
sentry.client.captureException()
|
||||||
log_appender('error', build_logs.PHASE)
|
log_appender('error', build_logs.PHASE)
|
||||||
|
|
Reference in a new issue