mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
fix: error message wording
This commit is contained in:
parent
a2e74c59b9
commit
e394d70206
@ -10,7 +10,7 @@ class ERROR_MESSAGES(str, Enum):
|
|||||||
return super().__str__()
|
return super().__str__()
|
||||||
|
|
||||||
DEFAULT = lambda err="": f"Something went wrong :/\n{err if err else ''}"
|
DEFAULT = lambda err="": f"Something went wrong :/\n{err if err else ''}"
|
||||||
ENV_VAR_NOT_FOUND = "Essential environment variable not found. Terminating now."
|
ENV_VAR_NOT_FOUND = "Required environment variable not found. Terminating now."
|
||||||
INVALID_TOKEN = (
|
INVALID_TOKEN = (
|
||||||
"Your session has expired or the token is invalid. Please sign in again."
|
"Your session has expired or the token is invalid. Please sign in again."
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user