jaredwray / cache-manager

Cache module for Node.JS
MIT License
1.4k stars 152 forks source link

feat: add details to error event #682

Closed corradodellorusso closed 2 months ago

corradodellorusso commented 2 months ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...) When using caching.on and multicaching.on, there's no way to:

Introducing this changes, consumers can better monitor and classify errors.

jaredwray commented 2 months ago

@corradodellorusso looks like xo is catching some lint errors.

corradodellorusso commented 2 months ago

@jaredwray should be fixed now.