aboutsummaryrefslogtreecommitdiffstats
path: root/sos/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'sos/__init__.py')
-rw-r--r--sos/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/__init__.py b/sos/__init__.py
index 3436dd9c..6c249d86 100644
--- a/sos/__init__.py
+++ b/sos/__init__.py
@@ -149,6 +149,8 @@ class SoS():
self.cmdline)
except Exception as err:
print("Could not initialize '%s': %s" % (_com, err))
+ if self.args.debug:
+ raise err
sys.exit(1)
def execute(self):