diff --git a/common.js b/common.js index 51023c5..8640302 100644 --- a/common.js +++ b/common.js @@ -46,7 +46,7 @@ function verifyResponse2(res, errorMessage) { function verifyResponse(res, errorMessage) { if (res.statusCode < 200 || res.statusCode > 299) { - console.log('Response error statusCode:%s error:%s body:%s', res.statusCode, res.error, res.body); + console.log('Response error statusCode:%s error:%s body:%j', res.statusCode, res.error, res.body); console.log(errorMessage.red); process.exit(1); }