run_checks: Print exception properly

This commit is contained in:
Florian Bruhin 2014-01-28 15:50:11 +01:00
parent 440544e1d2
commit 030cce4beb

View File

@ -23,7 +23,7 @@ def run(name, args=None):
print('{}: {}'.format(e.__class__.__name__, e))
status[name] = None
except Exception as e:
print(e)
print('{}: {}'.format(e.__class__.__name__, e))
status[name] = None
print()