Log calls need formatting arguments as a second arg
This commit is contained in:
parent
6ba3588294
commit
cf89e28019
1 changed files with 2 additions and 2 deletions
|
@ -53,8 +53,8 @@ class Module(ModuleManager.BaseModule):
|
||||||
context = event["args"][2:-1]
|
context = event["args"][2:-1]
|
||||||
description = event["args"][-1]
|
description = event["args"][-1]
|
||||||
|
|
||||||
self.log.warn("FAIL (%s %s) received: %s" %
|
self.log.warn("FAIL (%s %s) received: %s",
|
||||||
(command, error_code, description))
|
[command, error_code, description])
|
||||||
self.events.on("received.fail").call(command=command,
|
self.events.on("received.fail").call(command=command,
|
||||||
error_code=error_code, context=context, description=description)
|
error_code=error_code, context=context, description=description)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue