Viktor Söderqvist 8dcc8ebba4
Remove 'Redis' in error replies (#206)
Low-risk error replies containing "Redis" are changed.

In most cases, the word "Redis" is simply removed from the error message,
such as in "This Redis instance is not configured to use an ACL file. (...)",
the message is changed to "This instance is not configured to use an ACL
file. (...)".

Additionally, error replies from `redis.call` in a Lua script are
affected, such as

* "Please specify at least one argument for this redis lib call"
* "Wrong number of args calling Redis command from script"
* "Unknown Redis command called from script"
* "Invalid command passed to redis.acl_check_cmd()"

The name Redis is simply removed from these error message. In the last
one above, "redis.acl_check_cmd()" is replaced by
"server.acl_check_cmd()" in the error message.

The following error replies are considered high of causing problems for
clients, so they are not changed in this commit:

* (not in scope) "-MISCONF Redis is configured to save RDB snapshots
(...)"
* (not in scope) "-LOADING Redis is loading the dataset in memory"
* (not in scope) "-BUSY Redis is busy running a script (...)"

Fixes #204

---------

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
2024-04-16 21:17:38 +02:00
..
2024-04-16 21:17:38 +02:00
2022-11-23 17:39:08 +02:00
2024-04-07 17:30:38 -07:00
2024-04-03 23:20:06 +02:00
2024-04-03 23:20:06 +02:00
2020-04-24 17:11:21 -07:00
2024-04-03 11:02:43 +08:00
2020-05-05 23:35:08 -04:00
2024-04-15 13:45:00 +02:00
2024-04-03 23:20:06 +02:00
2021-07-10 10:04:54 -05:00