This commit is contained in:
@@ -158,7 +158,7 @@ async def create_contract(
|
|||||||
except Exception as error:
|
except Exception as error:
|
||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
status_code=400,
|
status_code=400,
|
||||||
detail=str(error)
|
detail=messages.pdferror
|
||||||
) from error
|
) from error
|
||||||
return StreamingResponse(
|
return StreamingResponse(
|
||||||
pdf_file,
|
pdf_file,
|
||||||
|
|||||||
Reference in New Issue
Block a user