Skip to content

Commit

Permalink
fix: add logging for top-level errors (#1736)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzimmermann committed Jan 15, 2021
1 parent c571910 commit 9f57b84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/semantic-release.js
Expand Up @@ -40,6 +40,7 @@ require('../cli')()
.then((exitCode) => {
process.exitCode = exitCode;
})
.catch(() => {
.catch((error) => {
console.error(error);
process.exitCode = 1;
});

0 comments on commit 9f57b84

Please sign in to comment.