Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
e394d702
Commit
e394d702
authored
Nov 20, 2023
by
Timothy J. Baek
Browse files
fix: error message wording
parent
a2e74c59
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
backend/constants.py
backend/constants.py
+1
-1
No files found.
backend/constants.py
View file @
e394d702
...
@@ -10,7 +10,7 @@ class ERROR_MESSAGES(str, Enum):
...
@@ -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."
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment