发布

  • [NA] Add global error handler for unhandled exceptions and return JSON response (#3835)

    frostbyte_neo 发布于 2025-11-07 17:16:45 +00:00

    • Add try–except for safe executor runtime handling in evaluator route

    • Update evaluator.py

    • Add global error handler for unhandled exceptions and return JSON response

    • add unit tests for global error handler covering debug and production modes

    • fix: exception handler to preserve 405 responses

    • Extracted separated handler for HTTPException

    Extracted separated handler for HTTPException and added test


    Co-authored-by: Andres Cruz andresc@comet.com

    下载附件