From 1edec7dba27576ea1caf6aff43d92c4721f52a71 Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Wed, 5 Jul 2023 12:35:00 -0400 Subject: [PATCH] sao: add response debug logging --- titles/sao/index.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/titles/sao/index.py b/titles/sao/index.py index 1fef504..ef0bf89 100644 --- a/titles/sao/index.py +++ b/titles/sao/index.py @@ -112,4 +112,6 @@ class SaoServlet(resource.Resource): self.logger.info(f"Handler {req_url} - {sao_request[:4]} request") self.logger.debug(f"Request: {request.content.getvalue().hex()}") - return handler(sao_request) \ No newline at end of file + resp = handler(sao_request) + self.logger.debug(f"Response: {resp.hex()}") + return resp \ No newline at end of file