diff --git a/services/resource-usage-tracker/src/simcore_service_resource_usage_tracker/exceptions/handlers/__init__.py b/services/resource-usage-tracker/src/simcore_service_resource_usage_tracker/exceptions/handlers/__init__.py index 0d07d790f11..8be40a236cf 100644 --- a/services/resource-usage-tracker/src/simcore_service_resource_usage_tracker/exceptions/handlers/__init__.py +++ b/services/resource-usage-tracker/src/simcore_service_resource_usage_tracker/exceptions/handlers/__init__.py @@ -1,8 +1,7 @@ from fastapi import FastAPI, HTTPException, status -from fastapi.exceptions import RequestValidationError +from ..errors import RutNotFoundError from ._http_error import ( - RutNotFoundError, http404_error_handler, http_error_handler, make_http_error_handler_for_exception, diff --git a/services/web/server/src/simcore_service_webserver/resource_usage/_pricing_plans_admin_handlers.py b/services/web/server/src/simcore_service_webserver/resource_usage/_pricing_plans_admin_handlers.py index e1323cc5051..16445e6b53e 100644 --- a/services/web/server/src/simcore_service_webserver/resource_usage/_pricing_plans_admin_handlers.py +++ b/services/web/server/src/simcore_service_webserver/resource_usage/_pricing_plans_admin_handlers.py @@ -48,7 +48,7 @@ async def wrapper(request: web.Request) -> web.StreamResponse: return await handler(request) except RPCServerError as exc: - raise RPCServerError from exc + raise RPCServerError from exc # <- Will be improved return wrapper