YUKI Hiroshi
null+****@clear*****
Wed Nov 14 20:18:55 JST 2012
YUKI Hiroshi 2012-11-14 20:18:55 +0900 (Wed, 14 Nov 2012) New Revision: cae1efca4093c041a8f50ca1c477919368720e2b https://github.com/groonga/gcs/commit/cae1efca4093c041a8f50ca1c477919368720e2b Log: Update method to get error information Modified files: tools/scenario-runner.js Modified: tools/scenario-runner.js (+1 -1) =================================================================== --- tools/scenario-runner.js 2012-11-14 20:16:44 +0900 (7fce604) +++ tools/scenario-runner.js 2012-11-14 20:18:55 +0900 (5c3dcce) @@ -111,7 +111,7 @@ ScenarioRunner.prototype._process = function(scenario, callback) { if (statusCode == 400) { var parser = new xml2js.Parser({ explicitRoot: true }); parser.parseString(response.Body, function(error, result) { - var errorCode = result.Response.Errors.Error.Code; + var errorCode = result.ErrorResponse.Error.Code; if (errorCode === 'Throttling') { self.emit('error:throttling'); } -------------- next part -------------- HTML����������������������������...Download