Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag Build or Release task should log an error if it can't tag #173

Open
vincebowdren opened this issue Oct 5, 2021 · 0 comments
Open

Tag Build or Release task should log an error if it can't tag #173

vincebowdren opened this issue Oct 5, 2021 · 0 comments

Comments

@vincebowdren
Copy link

Very occasionally, the TagBuild task will fail with a timeout error like this:

(node:5260) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: connect ETIMEDOUT 13.107.42.20:443

The problem is, that the error message is logged but the pipeline considers the task successful, so there is no warning that anything has gone wrong. It would be more helpful if the task would error in such a way that the pipeline could know about it.

Appendix: full log of the run which had the time-out failure:

2021-09-22T19:47:33.8079932Z ##[section]Starting: Tag Build If Release
2021-09-22T19:47:33.8212932Z ==============================================================================
2021-09-22T19:47:33.8213283Z Task : Tag Build or Release
2021-09-22T19:47:33.8213545Z Description : Adds tags to a build or release
2021-09-22T19:47:33.8213797Z Version : 0.1.114
2021-09-22T19:47:33.8214047Z Author : Colin Dembovsky (colinsalmcorner.com)
2021-09-22T19:47:33.8214468Z Help : More Information
2021-09-22T19:47:33.8214876Z ==============================================================================
2021-09-22T19:47:55.4536789Z (node:5260) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: connect ETIMEDOUT 13.107.42.20:443
2021-09-22T19:47:55.4642539Z ##[section]Finishing: Tag Build If Release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant