diff --git a/test/test.js b/test/test.js index 788f219..6c9f3d5 100644 --- a/test/test.js +++ b/test/test.js @@ -1815,6 +1815,7 @@ group('BucketPolicy', function () { Region: config.Region, Policy: Policy }, function (err, data) { + if (err) console.log(JSON.stringify(err)); assert.ok(!err); cos.getBucketPolicy({ Bucket: config.Bucket, @@ -1831,6 +1832,7 @@ group('BucketPolicy', function () { Region: config.Region, Policy: JSON.stringify(Policy) }, function (err, data) { + if (err) console.log(JSON.stringify(err)); assert.ok(!err); cos.getBucketPolicy({ Bucket: config.Bucket,