From fa330b4652f569510dcfaf325f76e0a4654adff8 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Sun, 10 Apr 2016 22:44:43 -0700 Subject: [PATCH] remove redundant debug --- src/webhooks.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/webhooks.js b/src/webhooks.js index 5ff8a5187..10afafaa3 100644 --- a/src/webhooks.js +++ b/src/webhooks.js @@ -18,7 +18,7 @@ function backupDone(filename, app, appBackupIds, callback) { assert(!appBackupIds || util.isArray(appBackupIds)); assert.strictEqual(typeof callback, 'function'); - debug('backupDone():', filename); + debug('backupDone %s', filename); // CaaS if (config.token()) { @@ -36,8 +36,6 @@ function backupDone(filename, app, appBackupIds, callback) { if (result.statusCode !== 200) return callback(new Error(result.text)); if (!result.body) return callback(new Error('Unexpected response')); - debug('backupDone()', filename); - return callback(null); }); } else {