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
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user