FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Hide error message and stack for non-error by aeisenberg · Pull Request #1485 · github/codeql-action · GitHub

Hide error message and stack for non-error - #1485

Merged
aeisenberg merged 3 commits into
mainfrom
aeisenberg/comitoid-message
Jan 18, 2023
Merged

aeisenberg merged 3 commits into
mainfrom
aeisenberg/comitoid-message

Conversation

aeisenberg commented Jan 17, 2023
edited
Loading

Copy link
Copy Markdown
Contributor

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.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

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.
aeisenberg requested a review from a team as a code owner January 17, 2023 23:02
Comment thread src/actions-util.ts Outdated
aeisenberg enabled auto-merge January 17, 2023 23:49

Copy link
Copy Markdown
Contributor Author

@angelapwen Thanks for your review. Can you re-approve?

Co-authored-by: Angela P Wen <angelapwen@github.com>
aeisenberg force-pushed the aeisenberg/comitoid-message branch from 526c990 to e6e3bf4 Compare January 17, 2023 23:53

angelapwen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

These changes look unrelated to the CI failures to me — are we failing CI on main?

Copy link
Copy Markdown
Contributor Author

Yep. Failing on main. Checking on this now.

aeisenberg merged commit 40cfcb0 into main Jan 18, 2023
aeisenberg deleted the aeisenberg/comitoid-message branch January 18, 2023 01:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL