Skip to content

Commit 0f75b05

Browse files
committed
Merge pull request #1417 from akkie/master
ApiException doesn't use deserialized data
2 parents eee69f1 + 9b8a633 commit 0f75b05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/swagger-codegen/src/main/resources/php/ApiClient.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ class ApiClient
246246

247247
throw new ApiException(
248248
"[".$response_info['http_code']."] Error connecting to the API ($url)",
249-
$response_info['http_code'], $http_header, $http_body
249+
$response_info['http_code'], $http_header, $data
250250
);
251251
}
252252
return array($data, $http_header);

0 commit comments

Comments
 (0)