zephyr_mirror: Don't let a single bad message break humbug=>zephyr forwarding.
(imported from commit 9b20f5e9c661fe0850c119309f4fe6f2c5d40679)
This commit is contained in:
parent
86ef645444
commit
97722d5eb3
|
@ -392,7 +392,12 @@ def maybe_forward_to_zephyr(message):
|
|||
print "%s humbug=>zephyr: Alert! Out of order message: %s < %s" % \
|
||||
(datetime.datetime.now(), message["timestamp"], timestamp_now)
|
||||
return
|
||||
forward_to_zephyr(message)
|
||||
try:
|
||||
forward_to_zephyr(message)
|
||||
except:
|
||||
# Don't let an exception forwarding one message crash the
|
||||
# whole process
|
||||
traceback.print_exc()
|
||||
|
||||
def humbug_to_zephyr(options):
|
||||
# Sync messages from zephyr to humbug
|
||||
|
|
Loading…
Reference in a new issue