Skip to content

Commit

Permalink
Merge pull request #21 from ebizmarts/Issue20
Browse files Browse the repository at this point in the history
closes #20
  • Loading branch information
gonzaloebiz authored Aug 29, 2018
2 parents eb1f13f + ed7eedf commit 64774b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ebizmarts/mailchimp-lib",
"type": "library",
"version": "3.0.27",
"version": "3.0.28",
"description": "API client library for the MailChimp",
"keywords": ["email", "api","mailchimp"],
"homepage": "https://github.com/ebizmarts/mailchimp-lib",
Expand Down
2 changes: 1 addition & 1 deletion src/Mailchimp.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public function call($url,$params,$method=Mailchimp::GET)

$info = curl_getinfo($ch);
if(curl_error($ch)) {
throw new Mailchimp_HttpError("API call to $url failed: " . curl_error($ch), $method, $params);
throw new Mailchimp_HttpError($url, $method, $params, '', curl_error($ch));
}
$result = json_decode($response_body, true);

Expand Down

0 comments on commit 64774b3

Please sign in to comment.