Skip to content

Remove top-level error handler #2

Closed
@ehmicky

Description

@ehmicky

In principle, this plugin should not throw exceptions.
Therefore, it would be better to remove the top-level try/catch error handler, to make sure any exception is correctly reported to users as plugin errors instead of user configuration errors.

https://github.com/ARKHN3B/netlify-plugin-use-env-in-runtime/blob/920ded63de5e0d9d9e8805ddb0041faeb730e7db/index.js#L39

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