Skip to content

Commit

Permalink
Hide error message and stack for non-error
Browse files Browse the repository at this point in the history
Avoid printing the error message and stack when we fail to find the
commit. This will happen in several non-error states (e.g.,
when there is no repository checked out at the CWD). Move the
error message to a debug message so that it is still available
if someone really wants to see it.
  • Loading branch information
Andrew Eisenberg committed Jan 17, 2023
1 parent 32be38e commit b625b62
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions lib/actions-util.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b625b62

Please sign in to comment.