From da0e1a8eb91db0bdd6684e86f4b8792b45331687 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Thu, 6 Mar 2014 14:52:34 -0500 Subject: [PATCH] added back err to redis flushdb --- src/database/redis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/redis.js b/src/database/redis.js index 3892690a6f..d672994b6c 100644 --- a/src/database/redis.js +++ b/src/database/redis.js @@ -118,7 +118,7 @@ module.flushdb = function(callback) { redisClient.send_command('flushdb', [], function(err) { if (typeof callback === 'function') { - callback(); + callback(err); } }); };