Red Hat Bugzilla – Bug 633035
[RFE] Exception handling clean-up
Last modified: 2016-04-18 02:34:38 EDT
Description of problem:
There are places where we catch Exception where we really mean to catch generic exceptions. This should be change to only catch expected exceptions. That way when an unexpected exception is thrown we can quickly tell what is the problem.
In cases where we need to clean up in any case. Don't mask the exception, Reraise after cleanup.
String exceptions are illegal in 2.6 thus we can get rid of all the empty excepts. Places that catch Exception and empty should be mended to only catch Exception.
Version-Release number of selected component (if applicable):
Steps to Reproduce: