This is cool! I think many frameworks use this or similar method to log uncaught exceptions to file, post them to error tracker like Sentry, and so on.
It's often a good choice to let the app crash but capture the information. Service managers like systemd will reboot the app back to life, anyway.
Log in to continue
We're a place where coders share, stay up-to-date and grow their careers.
This is cool! I think many frameworks use this or similar method to log uncaught exceptions to file, post them to error tracker like Sentry, and so on.
It's often a good choice to let the app crash but capture the information. Service managers like systemd will reboot the app back to life, anyway.