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

Proper error code and message when failing #295

Merged
merged 1 commit into from Jun 18, 2018

Commits on Jun 18, 2018

  1. Have proper error code and message when failing

    Prior to this, the CLI would exit with UnhandledPromiseRejectionWarning
    and a full stack trace when an error occurred.
    
    With this change, set an error code indicating failure and only display
    the error message by default. The stack trace is printed with --verbose.
    
    Furthermore, the loud-rejection handler is registered to fail properly
    if any rejected promises snuck past our handling.
    raphinesse committed Jun 18, 2018
    Copy the full SHA
    fc4022e View commit details
    Browse the repository at this point in the history