This repository was archived by the owner on Dec 24, 2024. It is now read-only.
1.1.0: Error handler improvements
v1.1.0 Features
Pull request with the detailed changes
Error handler improvements
- A method
stopListening()was added in order to stop the service from listening for more errors. - A second parameter to the constructor was added to specify whether or not
process.exitshould be called after handling an error. - A new Jimple provider was added to able to set the flag for
process.exit:errorHandlerWithOptions. It only has one parameter and it's the flag value. - The Jimple providers now depend by default on the
loggerservice, and if is not available then they will fallback toappLogger.
Regarding the last item of the list, having both
loggerandappLoggerregistered on the container is pretty uncommon that's why I'm considering this an edge case and a non-breaking version.