1a9b7343 by fehrlich

fix exeption handling

1 parent 87517607
......@@ -536,7 +536,7 @@ abstract class ImmoScoutAPI extends GuzzleClient
{
try {
return json_decode((string) $res->getBody(), true);
} catch (Exception $ex) {
} catch (\Exception $ex) {
throw new InvalidResponse('invalid json response');
}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!