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
That is the Node convention and the expected output.
See: GoogleChromeLabs/psi#43
var googleapis = require('googleapis'); var pagespeed = googleapis.pagespeedonline('v1').pagespeedapi.runpagespeed; // intentional grammar mistake to trigger the error pagespeed({url: 'http://google.con'}, function (err, response) { if (err) { throw err; //=> [object Object] } });
It should throw the error with stack, but instead just throws [object Object].
[object Object]
The text was updated successfully, but these errors were encountered:
googleapis doesn't return an Error instance as it should
googleapis
401679d
googleapis/google-api-nodejs-client#345 Fixes #43
Thanks for the report!
Sorry, something went wrong.
Fixed in v1.1.0
v1.1.0
googleapis/google-api-nodejs-client#345 was fixed
0ae65f7
ryanseys
Successfully merging a pull request may close this issue.
That is the Node convention and the expected output.
See: GoogleChromeLabs/psi#43
Test-case
It should throw the error with stack, but instead just throws
[object Object]
.The text was updated successfully, but these errors were encountered: