Skip to content

Feat: async exitOverride #2446

@cmackenthun

Description

@cmackenthun

While using this package, we have found a need to have better control of the error handling scenarios so that we can send observability signals upon errors. I attempted to use exitOverride, but found that I couldn't run async operations inside since the process is exited before the async function completes.

Not sure if exitOverride could be extended or if an exitOverrideAsync is needed, but it would allow us to wrap parse the error received, create observability signals, flush them, and then exit as normal

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions