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:
parent
632827f213
commit
d7dea0c6cc
1 changed files with 1 additions and 1 deletions
|
@ -899,7 +899,7 @@ class XMLStream(object):
|
||||||
args[0].exception(e)
|
args[0].exception(e)
|
||||||
elif etype == 'schedule':
|
elif etype == 'schedule':
|
||||||
try:
|
try:
|
||||||
log.debug(args)
|
log.debug('Scheduled event: %s' % args)
|
||||||
handler(*args[0])
|
handler(*args[0])
|
||||||
except:
|
except:
|
||||||
log.exception('Error processing scheduled task')
|
log.exception('Error processing scheduled task')
|
||||||
|
|
Loading…
Reference in a new issue