refac: web search
This commit is contained in:
1 parent
912a704fdc
commit
999d2bc21b
5 files changed
+119
-92
No files matched your search
@@ -82,5 +82,5 @@ class ERROR_MESSAGES(str, Enum):
|
||||
)
|
||||
|
||||
WEB_SEARCH_ERROR = (
|
||||
"Oops! Something went wrong while searching the web. Please try again later."
|
||||
lambda err="": f"{err if err else 'Oops! Something went wrong while searching the web.'}"
|
||||
)
|
||||
Reference in new issue
Block a user