Skip to content

Commit

Permalink
Fix exception var (#4156)
Browse files Browse the repository at this point in the history
  • Loading branch information
thegreyd authored May 9, 2024
1 parent 23f285e commit 7ad4f94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jobs/build/promote-assembly/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,13 @@ node {
echo "artcd returns:\n$out"
try {
release_info = readJSON(text: out)
} catch (exception) {
} catch (ex1) {
// retry since this is often flaky
try {
release_info = readJSON(text: out)
} catch (exception) {
} catch (ex2) {
slacklib.to(params.VERSION).say("@release-artists Promote failed since it couldn't parse pyartcd json. Please investigate/retry")
throw exception
throw ex2
}
}
}
Expand Down

0 comments on commit 7ad4f94

Please sign in to comment.