-
-
Notifications
You must be signed in to change notification settings - Fork 458
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
enhancement: display more helpful error message other than undefined #438
Comments
Thanks for capturing this in one gh issue. It's possible this regressed in a version bump. The point of logging the error was to provide helpful debugging when something goes wrong. I agree it's not at all helpful at the moment printing I'm hoping to anyone willing to help with this one. |
@softprops just ran into this too, can you try to dump the entire response since |
It seems like I cannot run this from a branch? Like I need to run some command to regenerate |
@till ah yes, if you run |
I just merged #447 could someone on this issue thread try a test release using the current master branch of this action? once we starting seeing data it should start shaking out the underlying issue |
That was supposed to be for testing 😆 |
no worries. the more info we can gather the sooner we can get the underlying issue addressed |
I figured out my problem: PAT was missing some permissions. In the end used the workflow token again and configured it appropriately. |
Currently when the action fails it displays undefined as part of the error message, which is not very helpful for debugging.
I believe the specific line is in
action-gh-release/src/github.ts
Line 316 in 9b795e5
It seems that more helpful error message can be displayed (taken from my scratch fork to troubleshooting a coredns release issue):
Related issue showing undefined: #217 #400 #411 #429
I'm not very familiar with typescript and the tooling used, so I hope some existing contributor or volunteer could help improve it.
Even more helpful error message other than plain undefined is appropriated too.
The text was updated successfully, but these errors were encountered: