mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Made sure the failure of one flusher doesn't affect them all.
This commit is contained in:
parent
31bb1abc7d
commit
c65dfd718e
@ -72,7 +72,10 @@ registryFilename = None
|
||||
def flush():
|
||||
"""Flushes all the registered flushers."""
|
||||
for f in flushers:
|
||||
f()
|
||||
try:
|
||||
f()
|
||||
except Exception, e:
|
||||
log.exception('Uncaught exception in flusher:')
|
||||
|
||||
def upkeep():
|
||||
"""Does upkeep (like flushing, garbage collection, etc.)"""
|
||||
|
Loading…
Reference in New Issue
Block a user