diff --git a/lib/weaviate/client.rb b/lib/weaviate/client.rb index d957ac7..e0918e1 100644 --- a/lib/weaviate/client.rb +++ b/lib/weaviate/client.rb @@ -106,6 +106,7 @@ def connection end faraday.request :json faraday.response :json, content_type: /\bjson$/ + faraday.response :raise_error faraday.adapter adapter faraday.headers[API_KEY_HEADERS[model_service]] = model_service_api_key if model_service && model_service_api_key