Show server name when we log a SASL failure (sasl)
This commit is contained in:
parent
1485947fcc
commit
a3ca29dabe
1 changed files with 2 additions and 1 deletions
|
@ -112,5 +112,6 @@ class Module(ModuleManager.BaseModule):
|
|||
self._end_sasl(event["server"])
|
||||
@utils.hook("received.numeric.904")
|
||||
def sasl_failure(self, event):
|
||||
self.log.warn("SASL failure: %s", [event["args"][1]])
|
||||
self.log.warn("SASL failure for %s: %s",
|
||||
[str(event["server"]), event["args"][1]])
|
||||
self._end_sasl(event["server"])
|
||||
|
|
Loading…
Reference in a new issue