diff --git a/test/smoke_test.js b/test/smoke_test.js index 3d1e5572991..f5514ef81ae 100644 --- a/test/smoke_test.js +++ b/test/smoke_test.js @@ -76,6 +76,13 @@ const path = require("path"); console.log( "FAILED HTTP REQUEST TO " + resp.url() + " Status is: " + resp.status() ); + if (resp.status() === 429) { + const headers = resp.headers(); + console.log("Response headers:"); + Object.keys(headers).forEach((key) => { + console.log(`${key}: ${headers[key]}`); + }); + } } return resp; });