From 2962aa9f064d7c3c6e48e0099acdea0dedfa8347 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Thu, 17 Oct 2024 20:29:31 -0700 Subject: [PATCH] fix --- backend/open_webui/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/constants.py b/backend/open_webui/constants.py index 4e2ef008b..c52c398cb 100644 --- a/backend/open_webui/constants.py +++ b/backend/open_webui/constants.py @@ -21,7 +21,7 @@ class ERROR_MESSAGES(str, Enum): return super().__str__() 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." CREATE_USER_ERROR = "Oops! Something went wrong while creating your account. Please try again later. If the issue persists, contact support for assistance."