fix: do not propagate technical message to the user
This commit is contained in:
parent
1373b88169
commit
a242a823fc
1 changed files with 1 additions and 1 deletions
|
|
@ -763,7 +763,7 @@ async def api_install_extension(
|
|||
logger.warning(ex)
|
||||
ext_info.clean_extension_files()
|
||||
raise HTTPException(
|
||||
status_code=HTTPStatus.INTERNAL_SERVER_ERROR, detail=str(ex)
|
||||
status_code=HTTPStatus.INTERNAL_SERVER_ERROR, detail="Failed to install extension."
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue