Fix uncaught exception hooks and add more shutdown logging.
What does this MR do?
Replaces use of uncaughtException with uncaughtExceptionMonitor to avoid corrupting the process return code, and adds additional process event listeners to capture more diagnostic logs.
Contribution Guidelines
By submitting this merge request, you agree to follow our Contribution Guidelines
-
I agree to follow this project's Contribution Guidelines -
I have made sure to test this merge request