gotta str()-ify kwargs
before logging it
This commit is contained in:
parent
5b1b26160a
commit
304fcdaebb
1 changed files with 2 additions and 2 deletions
|
@ -149,11 +149,11 @@ class EventRoot(object):
|
||||||
path_str = self._path_str(path)
|
path_str = self._path_str(path)
|
||||||
if not path_str in self._hooks:
|
if not path_str in self._hooks:
|
||||||
self.log.trace("not calling non-hooked event \"%s\" (params: %s)",
|
self.log.trace("not calling non-hooked event \"%s\" (params: %s)",
|
||||||
[path_str, kwargs])
|
[path_str, str(kwargs)])
|
||||||
return returns
|
return returns
|
||||||
|
|
||||||
self.log.trace("calling event: \"%s\" (params: %s)",
|
self.log.trace("calling event: \"%s\" (params: %s)",
|
||||||
[path_str, kwargs])
|
[path_str, str(kwargs)])
|
||||||
start = time.monotonic()
|
start = time.monotonic()
|
||||||
|
|
||||||
hooks = self._hooks[path_str]
|
hooks = self._hooks[path_str]
|
||||||
|
|
Loading…
Reference in a new issue