Skip to content

Commit 984ebc5

Browse files
committed
wip
1 parent 63785d1 commit 984ebc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/backend/primary/routers/general.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ async def usermock_call(
175175
service_base_url = await get_or_create_user_service_url(authenticated_user._user_id, "user-mock", instance_str)
176176
if service_base_url is None:
177177
LOGGER.error("Failed to get user session service URL")
178-
raise HTTPException(status_code=status.HTTP_503_SERVICE_UNAVAILABLE, detail="Failed to get user session service URL")
178+
raise HTTPException(status_code=status.HTTP_500_INTERNAL_SERVER_ERROR, detail="Failed to get user session service URL")
179179

180180
endpoint = f"{service_base_url}/dowork?duration=5"
181181

0 commit comments

Comments
 (0)