Allow a task to fail (slack notification) #3852
Unanswered
midweste
asked this question in
Help needed
Replies: 2 comments 2 replies
-
Anyone have any ideas here? |
Beta Was this translation helpful? Give feedback.
1 reply
-
This should be possible: task("my-task", function () {
try {
invoke("other-task");
} catch (e) {
}
}); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have a couple notifications that happen on deployment and occasionally the api endpoint takes longer than 5s to respond and deployer considers it a failed deployment. Is there any way to allow a task to fail and not count that as a failed deployment step?
It's not a huge deal if the slack notification (or other) fails, we don't want it to run deploy;failed afterward.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions