You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We tried setting this up over at coderefinery/coderefinery-twitter. When the PR is merged, we get this error message from the action:
(node:2866) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'message' of undefined
Running twitter-together version 0.0.0-development
at /home/runner/work/_actions/gr2m/twitter-together/v1.x/dist/index.js:25821:56
Tweeting: If you are getting this message, CodeRefinery has set up tweet-by git using Github Actions!
at Array.map (<anonymous>)
at handlePush (/home/runner/work/_actions/gr2m/twitter-together/v1.x/dist/index.js:25821:37)
https://github.com/gr2m/twitter-together
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:2866) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2866) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
error
Error: HTTP Error: 401 Authorization Required
at Request._callback (/home/runner/work/_actions/gr2m/twitter-together/v1.x/dist/index.js:41822:9)
at Request.self.callback (/home/runner/work/_actions/gr2m/twitter-together/v1.x/dist/index.js:19751:22)
at Request.emit (events.js:210:5)
at Request.<anonymous> (/home/runner/work/_actions/gr2m/twitter-together/v1.x/dist/index.js:20727:10)
at Request.emit (events.js:210:5)
at IncomingMessage.<anonymous> (/home/runner/work/_actions/gr2m/twitter-together/v1.x/dist/index.js:20649:12)
at Object.onceWrapper (events.js:299:28)
at IncomingMessage.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1184:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
The actual problem was fixed (we needed to give the app write permissions). But, the gh-action runner reports that the action succeeded.
What did you expect to happen?
Ideally the error would be propagated to the return code and noticed by the action runner - and the action would report failure to the users.
What the problem might be
I haven't dug into the code any, I'm not that good at javascript.
Other notes
Thanks for this action - it's exactly what we needed to start actually using twitter well, and I can only imagine it will be come indispensable for many projects.
The text was updated successfully, but these errors were encountered:
What happened?
We tried setting this up over at coderefinery/coderefinery-twitter. When the PR is merged, we get this error message from the action:
The actual problem was fixed (we needed to give the app write permissions). But, the gh-action runner reports that the action succeeded.
What did you expect to happen?
Ideally the error would be propagated to the return code and noticed by the action runner - and the action would report failure to the users.
What the problem might be
I haven't dug into the code any, I'm not that good at javascript.
Other notes
Thanks for this action - it's exactly what we needed to start actually using twitter well, and I can only imagine it will be come indispensable for many projects.
The text was updated successfully, but these errors were encountered: