File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
services/director-v2/src/simcore_service_director_v2/api/routes Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -377,10 +377,12 @@ async def create_or_update_or_start_computation( # noqa: PLR0913 # pylint: disa
377377 ) as e :
378378 raise HTTPException (status_code = status .HTTP_404_NOT_FOUND , detail = f"{ e } " ) from e
379379
380- except ClustersKeeperNotAvailableError as e :
381- raise HTTPException (status_code = status .HTTP_503_SERVICE_UNAVAILABLE , detail = f"{ e } " ) from e
382- except ConfigurationError as e :
380+ except (
381+ ClustersKeeperNotAvailableError ,
382+ ConfigurationError ,
383+ ) as e :
383384 raise HTTPException (status_code = status .HTTP_503_SERVICE_UNAVAILABLE , detail = f"{ e } " ) from e
385+
384386 except WalletNotEnoughCreditsError as e :
385387 raise HTTPException (status_code = status .HTTP_402_PAYMENT_REQUIRED , detail = f"{ e } " ) from e
386388
You can’t perform that action at this time.
0 commit comments