Skip to content

Commit e30a2e7

Browse files
authored
Update lib/meilisearch/error.rb
1 parent c890aa7 commit e30a2e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/meilisearch/error.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def get_meilisearch_error_info(http_body)
3737
# We might receive a JSON::ParserError when, for example, MeiliSearch is running behind
3838
# some proxy (ELB or Nginx, for example), and the request timeouts, returning us
3939
# a raw HTML body instead of a JSON as we were expecting
40-
@ms_message = "MeiliSearch API has not returned a valid JSON HTTP body: #{http_body}"
40+
@ms_message = "The server has not returned a valid JSON HTTP body: #{http_body}"
4141
end
4242

4343
def details

0 commit comments

Comments
 (0)