We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sometimes the google+ api retuns errors without setting the 'errors' key. so the code throws an error.
in relation to https://code.google.com/p/google-api-php-client/issues/detail?id=266 i would suggest the following change:
//throw new Google_ServiceException($err, $code, null, $decoded['error']['errors']); $error_msg = $err; if(isset($decoded['error']) && isset($decoded['error']['errors'])){ $error_msg = $decoded['error']['errors']; } throw new Google_ServiceException($err, $code, null, $error_msg);
The text was updated successfully, but these errors were encountered:
7a7a323
Merge pull request googleapis#57 from bshaffer/add-credentials-to-htt…
da0b8a1
…p-request adds client id/secret to code,refresh,and password grant types
yoshi-automation
No branches or pull requests
sometimes the google+ api retuns errors without setting the 'errors' key. so the code throws an error.
in relation to https://code.google.com/p/google-api-php-client/issues/detail?id=266 i would suggest the following change:
The text was updated successfully, but these errors were encountered: