ApiException doesn't use deserialized data

This is a fix for #1394. I had not merged the data correctly after the rebase
This commit is contained in:
akkie
2015-10-21 12:56:15 +02:00
parent dcc47a92b5
commit 9b8a633435

View File

@@ -246,7 +246,7 @@ class ApiClient
throw new ApiException(
"[".$response_info['http_code']."] Error connecting to the API ($url)",
$response_info['http_code'], $http_header, $http_body
$response_info['http_code'], $http_header, $data
);
}
return array($data, $http_header);