mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
PLT-5612: Don't show error on invalid search query. (#5596)
Log a warning to the logs, but don't show an error to the user in the WebUI, just an empty set of query results, when the fulltext search query they enter generates a syntax error from the database.
This commit is contained in:
committed by
Corey Hulen
parent
d945393403
commit
2e5ebac615
@@ -5032,8 +5032,8 @@
|
||||
"translation": "You cannot update an existing Post"
|
||||
},
|
||||
{
|
||||
"id": "store.sql_post.search.app_error",
|
||||
"translation": "We encountered an error while searching for posts"
|
||||
"id": "store.sql_post.search.warn",
|
||||
"translation": "Query error searching posts: %v"
|
||||
},
|
||||
{
|
||||
"id": "store.sql_post.update.app_error",
|
||||
|
||||
Reference in New Issue
Block a user