Skip to content

[Bug]: deduplication: { id: "" } throws "ERR Lua redis lib command arguments must be strings or integers script (When using" #3432

@Cauen

Description

@Cauen

Version

v5.58.5

Platform

NodeJS

What happened?

Ref #3114

Empty string at deduplication.id throws a difficult to understand error
So i'think that it should throw an handled custom error message

How to reproduce.

No response

Relevant log output

ReplyError: ERR Lua redis lib command arguments must be strings or integers script: f8843d48db1dc84bc5093f7615b78023ba0d6e82, on @user_script:130.",
            "    at parseError (/home/user/project/node_modules/.pnpm/[email protected]/node_modules/redis-parser/lib/parser.js:179:12)",
            "    at parseType (/home/user/project/node_modules/.pnpm/[email protected]/node_modules/redis-parser/lib/parser.js:302:14)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions