forked from Dniel97/artemis
pokken: add responnse debug logging
This commit is contained in:
parent
2dd84bbe3e
commit
edb9ec1971
@ -153,4 +153,7 @@ class PokkenServlet(resource.Resource):
|
|||||||
if handler is None:
|
if handler is None:
|
||||||
self.logger.warn(f"No handler found for message type {endpoint}")
|
self.logger.warn(f"No handler found for message type {endpoint}")
|
||||||
return self.base.handle_noop(pokken_request)
|
return self.base.handle_noop(pokken_request)
|
||||||
return handler(pokken_request)
|
|
||||||
|
ret = handler(pokken_request)
|
||||||
|
self.logger.debug(f"Response: {ret}")
|
||||||
|
return ret
|
||||||
|
Loading…
Reference in New Issue
Block a user