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

request sent successfully. no response displayed. error message #6

Closed
stitetsati opened this issue Jun 8, 2020 · 1 comment · Fixed by #7
Closed

request sent successfully. no response displayed. error message #6

stitetsati opened this issue Jun 8, 2020 · 1 comment · Fixed by #7
Assignees
Labels
bug Something isn't working

Comments

@stitetsati
Copy link

hi,
the action sent the post request successfully but there's no response displayed. also seen the error message below:

(node:2444) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'code' of undefined
at /home/runner/work/_actions/fjogeleit/http-request-action/master/dist/index.js:2656:58
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:2444) 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: 2)
(node:2444) [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.

@fjogeleit fjogeleit self-assigned this Jun 8, 2020
@fjogeleit fjogeleit added the bug Something isn't working label Jun 8, 2020
@fjogeleit
Copy link
Owner

fjogeleit commented Jun 8, 2020

I updated the error handling, so you should now get detailed information why the API call is rejected. You can use the new version with the "latest" or "v1.3.1" Tag

@fjogeleit fjogeleit linked a pull request Jun 8, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants