Closed andrez89 closed 1 year ago
Would appreciate it if this could get merged. Have been running into this error in my production environment and can't quite figure out the source, so getting something other than Call to a member function getBody() on null
would be helpful.
Released in v1.1.3.
The $response variable is not checked before method getBody() is called It happens to me when working on a local environment without an internet connection to the server. The $response variable is null and it crashes without generating a specific exception.
This small fix allows the program to continue and finally returns a ConnectionException