Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'ERR' prefix not exist in 'Existing key has wrong Redis type' error #725

Closed
glassfox opened this issue May 22, 2022 · 0 comments · Fixed by #813 · May be fixed by RedisLabsModules/redismodule-rs#240
Closed

'ERR' prefix not exist in 'Existing key has wrong Redis type' error #725

glassfox opened this issue May 22, 2022 · 0 comments · Fixed by #813 · May be fixed by RedisLabsModules/redismodule-rs#240
Labels

Comments

@glassfox
Copy link

version 2.0.8

All errors in module starting with prefix 'ERR'. Example: 'ERR new objects must be created at the root'
In case of 'wrong type' error no prefix occurred.

#Reproducer

set foo bar
"OK"
json.type foo .
"Existing key has wrong Redis type"


Expected: "ERR Existing key has wrong Redis type"

@gkorland gkorland added the bug label Aug 30, 2022
@gkorland gkorland linked a pull request Aug 30, 2022 that will close this issue
gkorland added a commit that referenced this issue Dec 30, 2022
* straight the error message

* fix build

* format code
rafie pushed a commit that referenced this issue Jan 31, 2023
* straight the error message

* fix build

* format code

(cherry picked from commit b3ea215)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants