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

Improve logging and error handling #2

Open
2 tasks
sean-krail opened this issue Apr 4, 2020 · 0 comments
Open
2 tasks

Improve logging and error handling #2

sean-krail opened this issue Apr 4, 2020 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@sean-krail
Copy link
Contributor

sean-krail commented Apr 4, 2020

This ticket will track a running list to improve logging and error handling.

  • Improve logging across the whole action's lifecycle - setup, filtering, polling, and conclusion.

  • Let user know when the repository doesn't exist, the repository's ref doesn't exist, or the token doesn't have access to the repository. Right now the action throws this exception:

    (node:2762) UnhandledPromiseRejectionWarning: HttpError: Not Found
        at /home/runner/work/_actions/jitterbit/await-check-suites/v1/dist/index.js:8731:23
        at processTicksAndRejections (internal/process/task_queues.js:93:5)
    (node:2762) 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:2762) [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.
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant