Exception handling is an often misused feature of programming languages and operating systems. Basically, if something’s gone wrong, and you don’t know exactly how to correct it, then the only safe thing you can do is to exit the application. Trying to do anything else may lead to an unstable application, and an unstable application is typically some amount of work away from being an exploitable application.
CWE also recognizes catching broad exceptions as an issue.
CWE-396: Declaration of Catch for Generic Exception
As is often the case, C and ...