Skip to content

Fix logic of error handling for npm warning and uncaught exception

Compare
Choose a tag to compare
@dmitry-shibanov dmitry-shibanov released this 28 Dec 10:21
· 223 commits to main since this release
1f8c6b9

In scope of this release we fix logic of error handling related to caching (#358) and (#359).

In the previous behaviour we relied on stderr output to throw error. The warning messages from package managers can be written to the stderr's output. For now the action will throw an error only if exit code differs from zero. Besides, we add logic to сatch and log unhandled exceptions.