diff --git a/litellm/main.py b/litellm/main.py index 29dd925f7..e35014abb 100644 --- a/litellm/main.py +++ b/litellm/main.py @@ -5134,7 +5134,7 @@ async def ahealth_check( if passed_in_mode is None: return { - "error": "Missing `mode`. Set the `mode` for the model - https://docs.litellm.ai/docs/proxy/health#embedding-models" + "error": f"error:{str(e)}. Missing `mode`. Set the `mode` for the model - https://docs.litellm.ai/docs/proxy/health#embedding-models \nstacktrace: {stack_trace}" } error_to_return = (