From 4eb3e8b4f79e0ddb835f636b1bdca175fd96e9b5 Mon Sep 17 00:00:00 2001 From: wl-zhao Date: Tue, 29 Oct 2024 11:36:13 +0800 Subject: [PATCH] add message details --- custom_routes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_routes.py b/custom_routes.py index b7718ee..f5b94e7 100755 --- a/custom_routes.py +++ b/custom_routes.py @@ -177,6 +177,7 @@ async def shellagent_export(request): status = 400 return_dict = { "success": False, - "message": str(traceback.format_exc()), + "message_detail": str(traceback.format_exc()), + "message": str(e), } return web.json_response(return_dict, status=status) \ No newline at end of file