diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2015-01-19 20:49:47 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2015-01-19 20:49:47 +0000 |
commit | 370f58d3e9ec141ab4b0c49521c79cc90fab6c00 (patch) | |
tree | a34e96fd2dc75b8add5a9df56a5586ffc3365eae /example_plugins/example.py | |
parent | 263e4183822c70b37019879308e77c91272e2895 (diff) | |
download | sos-370f58d3e9ec141ab4b0c49521c79cc90fab6c00.tar.gz |
[sosreport] fix silent exception handling in sosreport
The OSError and IOError exception branches for the setup, collect,
and postproc methods silently ignore plugin exceptions that are
not on the list of fatal fs errors (that will cause sos to halt
immediately).
Fix this and either raise the exception (if --debug is given) or
log it to a file via _log_plugin_exception().
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'example_plugins/example.py')
0 files changed, 0 insertions, 0 deletions