Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Support Logger swallowing (#995)
When you swallow an error you expect silence... this common built in hook makes it noisy regardless. It looks almost exactly like an uncaught error and is very deceiving This results in handled errors looking like this: ``` info: error: mailer - Method: create: getaddrinfo ENOTFOUND smtp.mailgun.org ``` Instead of this: ``` info: error: mailer - Method: create: getaddrinfo ENOTFOUND smtp.mailgun.org smtp.mailgun.org:2525 error: Error: getaddrinfo ENOTFOUND smtp.mailgun.org smtp.mailgun.org:2525 at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:50:26) ``` which I much prefer. MOVED TO MONOREPO FROM: feathersjs-ecosystem/generator-feathers#392 (comment)
- Loading branch information