Skip to content

Commit

Permalink
fix(Orca): Feature: option to add a delay before polling starts in We…
Browse files Browse the repository at this point in the history
…bhook stage #3450 (#2974)
  • Loading branch information
neelimamanubolu authored and asher committed Jun 11, 2019
1 parent 76f128f commit 2c887f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class CreateWebhookTask implements RetryableTask {
return TaskResult.builder(ExecutionStatus.TERMINAL).context(outputs).build()
}

if (statusCode.is5xxServerError() || statusCode.value() == 429) {
if (statusCode.is5xxServerError() || statusCode.value() == 429 || statusCode.value() == 404) {
String errorMessage = "error submitting webhook for pipeline ${stage.execution.id} to ${stageData.url}, will retry."
log.warn(errorMessage, e)

Expand Down

0 comments on commit 2c887f2

Please sign in to comment.