Skip to content

Invalid string length #88

Open
Open
@thorupio

Description

@thorupio

I'm trying to cache an array and I get this error:

RangeError: Invalid string length at JSON.stringify (<anonymous>) at /app/node_modules/cache-manager-redis/index.js:241:24

I'm unable to catch this error in my code for some reason and it messes with my Heroku dyno to have this being flagged as an unhandled promise rejection.

Is there a maximum array size, I should be careful not to exceed?

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