plugin command export: fixed severity for a debug message

This commit is contained in:
Goffi 2015-11-23 23:30:41 +01:00
commit 4cbcb931fe

View file

@ -110,7 +110,7 @@ class CommandExport(object):
body = [e for e in message.elements() if e.name == 'body'][0] body = [e for e in message.elements() if e.name == 'body'][0]
except IndexError: except IndexError:
# do not block message without body (chat state notification...) # do not block message without body (chat state notification...)
log.warning("No body element found in message, following normal behaviour") log.debug("No body element found in message, following normal behaviour")
return True return True
mess_data = unicode(body) + '\n' mess_data = unicode(body) + '\n'