Skip to content

More informative handling of connection refused error #42

@mkmurray

Description

@mkmurray

When JIRA is down, the commit hook gives a cryptic, non-descriptive error message of Error: connect ECONNREFUSED.

It should give a more graceful and informative error message to the user. I looked briefly at the jira npm module to see if I could just write a pull request myself using some built-in error handling if I could find it, but saw nothing obvious.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions