mcollina / async-cache-dedupe

Async cache with dedupe support
MIT License
640 stars 40 forks source link

log.debug isn't defined #39

Closed salzhrani closed 1 year ago

salzhrani commented 1 year ago

Good day, when setting the log level to level higher than debug in fastify, log.debug becomes undefined and causes a failure. I can submit a PR that checks for a level's existence and skips if it isn't there

mcollina commented 1 year ago

Thanks for reporting!

Can you provide steps to reproduce? We often need a reproducible example, e.g. some code that allows someone else to recreate your problem by just copying and pasting it. If it involves more than a couple of different file, create a new repository on GitHub and add a link to that.

salzhrani commented 1 year ago

while preparing a reproduction it became apparent that it was an issue with dependencies/versions. removing the node_modules folder and reinstalling fixed it. thank you for your time