Skip to content

Commit 2593375

Browse files
committed
Merge branch 'main' into issues/28-error
2 parents 2ef7437 + 07d4513 commit 2593375

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stapi-fastapi/src/stapi_fastapi/routers/product_router.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
)
3535

3636
from stapi_fastapi.constants import TYPE_JSON
37-
from stapi_fastapi.errors import QueryablesError, NotFoundError
37+
from stapi_fastapi.errors import NotFoundError, QueryablesError
3838
from stapi_fastapi.models.product import Product
3939
from stapi_fastapi.responses import GeoJSONResponse
4040
from stapi_fastapi.routers.route_names import (

stapi-fastapi/src/stapi_fastapi/routers/root_router.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ async def get_opportunity_search_record_statuses(
439439
case Success(Some(search_record_statuses)):
440440
return search_record_statuses # type: ignore
441441
case Success(Maybe.empty):
442-
raise NotFoundException("Opportunity Search Record not found")
442+
raise NotFoundError("Opportunity Search Record not found")
443443
case Failure(e):
444444
logger.error(
445445
"An error occurred while retrieving opportunity search record statuses '%s': %s",

0 commit comments

Comments
 (0)