forked from open-webui/open-webui
fix: error message wording
This commit is contained in:
parent
a2e74c59b9
commit
e394d70206
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue