Commit 39c97527 authored by Alexandre Jorgensen's avatar Alexandre Jorgensen
Browse files

Change error code to 500 when user create a conference but could not retrieve...

Change error code to 500 when user create a conference but could not retrieve it at the end of the process
1 merge request!10Change error code to 500 when user create a conference but could not retrieve...
Pipeline #90107 passed with stages
in 4 minutes and 24 seconds
Showing with 2 additions and 2 deletions
......@@ -333,8 +333,8 @@ class SDKCoreManager:
xconIDReturn: str = str(creationConferenceInfo.ccmp_uri)
conference = self._core.find_conference_information_from_ccmp_uri(xconIDReturn)
if not conference:
logger.warning(f"Could not find conference for URI '{xconIDReturn}'")
raise HTTPException(detail=f"Could not find conference for URI '{xconIDReturn}'", status_code=404)
logger.warning(f"Could not find conference after creation with URI '{xconIDReturn}'")
raise HTTPException(detail=f"Could not find conference after creation with URI '{xconIDReturn}'", status_code=500)
conferenceURI = str(conference.uri.as_string_uri_only())
confIDReturn: str = xconIDReturn
subject: str = str(conference.subject)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment