diff --git a/logging/write.js b/logging/write.js index 957172eb3c..13399c1609 100644 --- a/logging/write.js +++ b/logging/write.js @@ -92,6 +92,7 @@ exports.runExample = function (cb) { console.log(err, 'apiResponse:', apiResponse); if (err && err.code === 404) { err = undefined; + apiResponse = {}; } if (!err) { console.log('success!');