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