Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add shutdown handler to even manage fatal errors
We can't catch some errors and they are not passed to the error_handler either. But we can at least react to them in a shutdown function to show a friendly message to the user and write our log.
- Loading branch information
1 parent
03e8a69
commit cb4cefe
Showing
1 changed file
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters