Browse Source

异步处理 kimi

罗俊辉 1 year ago
parent
commit
55370cd235
1 changed files with 3 additions and 1 deletions
  1. 3 1
      applications/routes.py

+ 3 - 1
applications/routes.py

@@ -98,11 +98,13 @@ def Routes(mysql_client):
                 trace_id=trace_id,
                 mysql_client=mysql_client
             )
+            print(result)
         except Exception as e:
             result = {
                 "traceId": trace_id,
-                "error": e
+                "error": str(e)
             }
+            print(result)
         return jsonify(result)
 
     return my_blueprint