File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
services/storage/src/simcore_service_storage/core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2626 APP_NAME ,
2727 APP_STARTED_BANNER_MSG ,
2828)
29+ from ..api .rest .utils import set_exception_handlers
2930from ..dsm import setup_dsm
3031from ..dsm_cleaner import setup_dsm_cleaner
3132from ..modules .db .db import setup_db
@@ -78,14 +79,13 @@ def create_app(settings: ApplicationSettings) -> FastAPI:
7879
7980 setup_rest_api_long_running_tasks (app )
8081 setup_rest_api_routes (app , API_VTAG )
82+ set_exception_handlers (app )
8183
8284 setup_dsm (app )
8385 if settings .STORAGE_CLEANER_INTERVAL_S :
8486 setup_redis (app )
8587 setup_dsm_cleaner (app )
8688
87- # app.middlewares.append(dsm_exception_handler)
88-
8989 if settings .STORAGE_PROFILING :
9090 app .add_middleware (ProfilerMiddleware )
9191
You can’t perform that action at this time.
0 commit comments