randydev commited on
Commit
e248e87
1 Parent(s): 0973c3d

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -858,8 +858,8 @@ def beta_rag(item: BetaRags):
858
  status="True",
859
  randydev={"message": answer}
860
  )
861
- except Exception:
862
- return SuccessResponse(status="False", randydev={"message": contact_support})
863
 
864
  @app.post("/ryuzaki/gemini-ai-pro", response_model=SuccessResponse, responses={422: {"model": ErrorStatus}})
865
  def gemini_pro(item: GeminiPro):
 
858
  status="True",
859
  randydev={"message": answer}
860
  )
861
+ except Exception as e:
862
+ return SuccessResponse(status="False", randydev={"message": str(e)})
863
 
864
  @app.post("/ryuzaki/gemini-ai-pro", response_model=SuccessResponse, responses={422: {"model": ErrorStatus}})
865
  def gemini_pro(item: GeminiPro):