There was an error while loading. Please reload this page.
1 parent ce7f974 commit 79f043eCopy full SHA for 79f043e
lib/transporters.js
@@ -82,7 +82,7 @@ DefaultTransporter.prototype.wrapCallback_ = function(opt_callback) {
82
err = new Error(body.error.errors.map(
83
function(err) { return err.message; }
84
).join('\n'));
85
- err.code = body.error.errors[0].code;
+ err.code = body.error.code;
86
err.errors = body.error.errors;
87
88
} else {
0 commit comments