BGREWRITEAOF: improve the generic error message.
This commit is contained in:
parent
b7b23bdfb8
commit
fddc4757c8
@ -1630,7 +1630,8 @@ void bgrewriteaofCommand(client *c) {
|
|||||||
} else if (rewriteAppendOnlyFileBackground() == C_OK) {
|
} else if (rewriteAppendOnlyFileBackground() == C_OK) {
|
||||||
addReplyStatus(c,"Background append only file rewriting started");
|
addReplyStatus(c,"Background append only file rewriting started");
|
||||||
} else {
|
} else {
|
||||||
addReply(c,shared.err);
|
addReplyError(c,"Can't execute an AOF background rewriting. "
|
||||||
|
"Please check the server logs for more information.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user