Skip to content

@inquirer/search - exit on source failure #1859

@robcresswell

Description

@robcresswell

Sorry, this is probably an incredibly naive question; if the source() method fails for some reason (dead network for example) and I want to force exit the prompt; how does one do this? source() seems to catch all errors and just print the message to the terminal, which isn't very helpful. Aside from process.exit-ing, I can't figure out what to do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions