-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Description
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