Skip to content

Formatting issue #92

@tomasz-fijalkowski-monday

Description

Let's say I want to throw an error with a message likeabc%20def. When I use

new VError('abc%20def');

I see the following issue

Error: format string "abc%20def": conversion specifier "%20d" at character 4 has no matching argument (too few arguments passed)

In my opinion, when there are no formatting parameters, then the library shouldn't try to format the message. It should use the message as it is.

Verified in version 1.10.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions