diff options
author | George Goldberg <george@gberg.me> | 2017-03-02 14:11:59 +0000 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2017-03-02 09:11:59 -0500 |
commit | 2e5ebac615bfe720eee9dfab70e966f81c138a27 (patch) | |
tree | dab269cd10b8d5ba4e749494fbdf26fb85c47a87 /i18n | |
parent | d94539340397d1e0478676ad3f8c40215783880a (diff) | |
download | chat-2e5ebac615bfe720eee9dfab70e966f81c138a27.tar.gz chat-2e5ebac615bfe720eee9dfab70e966f81c138a27.tar.bz2 chat-2e5ebac615bfe720eee9dfab70e966f81c138a27.zip |
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.
Diffstat (limited to 'i18n')
-rw-r--r-- | i18n/en.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i18n/en.json b/i18n/en.json index f2417a8f5..472d30d5f 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -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", |