-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
uncaughtException TypeError: Cannot read property 'command' of undefined #862
Labels
Comments
I can reproduce it: try {
let result = await redis.call('áéűáű', [])
} catch(e) {
console.error(e)
} We should catch it, but instead we get this error:
|
luin
added a commit
that referenced
this issue
May 13, 2019
This commit uses Buffer.byteLength() insteand of String#length to handle non-utf8 command names. Close #862
luin
added a commit
that referenced
this issue
May 13, 2019
This commit uses Buffer.byteLength() insteand of String#length to handle non-utf8 command names. Close #862
🎉 This issue has been resolved in version 4.9.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@luin thanks so much for the fix, although i patched it for myself, but this is awesome and it is better for everyone! |
janus-dev87
added a commit
to janus-dev87/ioredis-work
that referenced
this issue
Mar 1, 2024
## [4.9.4](redis/ioredis@v4.9.3...v4.9.4) (2019-05-13) ### Bug Fixes * handle non-utf8 command name ([#866](redis/ioredis#866)) ([9ddb58b](redis/ioredis@9ddb58b)), closes [#862](redis/ioredis#862)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
How are you?
I experience an error such as:
patrikx3/redis-ui#14
The text was updated successfully, but these errors were encountered: