zephyr_mirror: Extend logging on subscribe failures.

(imported from commit ce54549a74935bb95cb68dd1e6db2a3eec6166c5)
This commit is contained in:
Tim Abbott 2012-11-13 12:47:59 -05:00
parent dd07236eec
commit 4c2d56c10b

View file

@ -143,6 +143,7 @@ def zephyr_bulk_subscribe(subs):
# retrying the next time the bot checks its subscriptions are # retrying the next time the bot checks its subscriptions are
# up to date. # up to date.
logger.exception("Error subscribing to streams (will retry automatically):") logger.exception("Error subscribing to streams (will retry automatically):")
logging.debug("Streams were: %s" % ((cls for cls, instance, recipient in subs),))
return return
for (cls, instance, recipient) in subs: for (cls, instance, recipient) in subs:
current_zephyr_subs.add(cls) current_zephyr_subs.add(cls)