mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 21:38:43 +00:00
fix
This commit is contained in:
parent
f821de9470
commit
2962aa9f06
@ -21,7 +21,7 @@ class ERROR_MESSAGES(str, Enum):
|
|||||||
return super().__str__()
|
return super().__str__()
|
||||||
|
|
||||||
DEFAULT = (
|
DEFAULT = (
|
||||||
lambda err="": f'{"Something went wrong :/" if err == "" else "[ERROR: " + err + "]"}'
|
lambda err="": f'{"Something went wrong :/" if err == "" else "[ERROR: " + str(err) + "]"}'
|
||||||
)
|
)
|
||||||
ENV_VAR_NOT_FOUND = "Required environment variable not found. Terminating now."
|
ENV_VAR_NOT_FOUND = "Required environment variable not found. Terminating now."
|
||||||
CREATE_USER_ERROR = "Oops! Something went wrong while creating your account. Please try again later. If the issue persists, contact support for assistance."
|
CREATE_USER_ERROR = "Oops! Something went wrong while creating your account. Please try again later. If the issue persists, contact support for assistance."
|
||||||
|
Loading…
Reference in New Issue
Block a user