mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-13 12:33:25 +02:00
Debug failed webapp reply (#530)
* Add log line to debug webapp hanlder reply * Log request message * Log type of handler reply * Log type of request message * Fix callling serialize reply * Remove debug log lines
This commit is contained in:
parent
98d9b5a87d
commit
705ffef8a9
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ def create_app(handler, username, password):
|
|||
request_message.ParseFromString(data)
|
||||
try:
|
||||
reply = handle_rpc_request(request_message)
|
||||
return reply.SerializeToString(reply)
|
||||
return reply.SerializeToString()
|
||||
except Exception as e:
|
||||
logger.error("Error in handle admin web request.", exc_info=True)
|
||||
return str(e), 500
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue