logging: Re-raise exception after output

This commit is contained in:
Aldo Cortesi 2015-05-31 18:12:39 +12:00
parent effd29b51a
commit 2ebe994375
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,8 @@ class Log:
"\n"
]
)
if exc_value:
raise exc_value
def suppress(self):
self.suppressed = True