diff options
author | antirez <antirez@gmail.com> | 2011-10-14 14:30:41 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2011-10-14 14:30:41 +0200 |
commit | 71bb31bf167f9820502384b368898a29a2ecf73d (patch) | |
tree | a2c2f70e64616f3071c4163da5460d1748519318 | |
parent | c7d23f3ed1d29f18e77a05afbed1d526938295d3 (diff) | |
download | redis-71bb31bf167f9820502384b368898a29a2ecf73d.tar.gz |
More informative error when DEBUG RELOAD fails.
-rw-r--r-- | src/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.c b/src/debug.c index f3b557c42..b937cd3b0 100644 --- a/src/debug.c +++ b/src/debug.c @@ -224,7 +224,7 @@ void debugCommand(redisClient *c) { } emptyDb(); if (rdbLoad(server.dbfilename) != REDIS_OK) { - addReply(c,shared.err); + addReplyError(c,"Error trying to load the RDB dump"); return; } redisLog(REDIS_WARNING,"DB reloaded by DEBUG RELOAD"); |