You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($statusCode === 500 && strpos($responseBody, "RoutingMissingException") !== false) {
The text was updated successfully, but these errors were encountered:
mohammed-adil-moughal
changed the title
Strpos on null, need better gracefull handling in the event the responseBody is null
Strpos on null, need better graceful handling in the event the $responseBody is null
Dec 7, 2021
@mohammed-adil-moughal Have you seen a null $responseBody in the wild, or is this a hypothetical problem? If so, could you provide details of the code which generates such a failure, so that we can test and reproduce? Thanks.
elasticsearch-php/src/Elasticsearch/Connections/Connection.php
Line 719 in 3df6517
The text was updated successfully, but these errors were encountered: