Skip to content

fix: setup_custom_exception_handlers is not executed

Shinya Maeda requested to merge shinya.maeda-main-patch-f2a6 into main

What does this merge request do and why?

This MR fixes WARNING:py.warnings: ai_gateway/api/server.py:1... (#439 - closed).

We just refactored FastAPI with lifespan, but this small piece was slipped.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request checklist

  • Tests added for new functionality. If not, please raise an issue to follow up.
  • Documentation added/updated, if needed.
Edited by Shinya Maeda

Merge request reports