diff --git a/bin/lib/fastly-extended.js b/bin/lib/fastly-extended.js index f54f231ae..ed3c324f6 100644 --- a/bin/lib/fastly-extended.js +++ b/bin/lib/fastly-extended.js @@ -65,14 +65,14 @@ module.exports = function (apiKey, serviceId) { if (err && err.statusCode === 404) { this.request('POST', postUrl, condition, function (err, response) { if (err) { - return cb('Failed while inserting condition: ' + err); + return cb('Failed while inserting condition \"' + condition + '\": ' + err); } return cb(null, response); }); return; } if (err) { - return cb('Failed to update condition: ' + err); + return cb('Failed to update condition \"' + condition + '\": ' + err); } return cb(null, response); }.bind(this));