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

Add debug logging #31

Merged
merged 5 commits into from
Jun 28, 2021
Merged

Add debug logging #31

merged 5 commits into from
Jun 28, 2021

Conversation

rekmarks
Copy link
Member

The setFailed function of @actions/core only logs error.toString(), which doesn't include the error stack trace. This PR adds a call to the error function of that package. We could use debug, but then you have to add a repository secret to enable debug logging. This log should always be visible. See the package website for details: https://www.npmjs.com/package/@actions/core

@rekmarks rekmarks requested a review from a team as a code owner June 27, 2021 21:39
Copy link

@NiranjanaBinoy NiranjanaBinoy left a comment

Choose a reason for hiding this comment

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

LGTM

@rekmarks rekmarks merged commit a1738b5 into main Jun 28, 2021
@rekmarks rekmarks deleted the add-debug-logging branch June 28, 2021 01:25
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