Skip to content

Pass error thrown in the init hook to beforeError hook #929

@szmarczak

Description

@szmarczak

Currently that's not possible, the init hook is called by normalizeArguments, which is catched directly by the Got promise.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions