From e26711b49c63e18e745400b2ad99bf04aa3f4a8a Mon Sep 17 00:00:00 2001 From: Newnius Date: Thu, 26 Dec 2019 17:02:09 +0800 Subject: [PATCH] all in one --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 9b69d7c..43f4b8a 100644 --- a/main.py +++ b/main.py @@ -156,6 +156,7 @@ class MyHandler(BaseHTTPRequestHandler): msg["code"] = 1 except Exception as e: msg = {"code": 1, "error": str(e)} + print(str(e)) self.send_response(200) self.send_header('Content-type', 'application/json')