mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +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():
|
def flush():
|
||||||
"""Flushes all the registered flushers."""
|
"""Flushes all the registered flushers."""
|
||||||
for f in flushers:
|
for f in flushers:
|
||||||
f()
|
try:
|
||||||
|
f()
|
||||||
|
except Exception, e:
|
||||||
|
log.exception('Uncaught exception in flusher:')
|
||||||
|
|
||||||
def upkeep():
|
def upkeep():
|
||||||
"""Does upkeep (like flushing, garbage collection, etc.)"""
|
"""Does upkeep (like flushing, garbage collection, etc.)"""
|
||||||
|
Loading…
Reference in New Issue
Block a user