Add a note for debug statement when running scheduled events.

Fixes the intermittent DEBUG ((),) messages that give no
explanation.

Will now show as:
DEBUG Scheduled event: ((), )
This commit is contained in:
Lance Stout 2011-01-14 12:07:25 -05:00
parent 632827f213
commit d7dea0c6cc

View file

@ -899,7 +899,7 @@ class XMLStream(object):
args[0].exception(e)
elif etype == 'schedule':
try:
log.debug(args)
log.debug('Scheduled event: %s' % args)
handler(*args[0])
except:
log.exception('Error processing scheduled task')