api-error-handler
api-error-handler copied to clipboard
Add option for custom error reporter
Opening for early feedback. @jonathanong I would like a way to surpress the console.error
call since I've already sent the error to Sentry, and my logs follow a json format. Do you think this is a good approach?
Coverage remained the same at 100.0% when pulling 3d7e95edd6fc40cf315f58b5707142718d2ad3ff on LinusU:custom-error-reporter into df765a50c0c1de4fdbe4ce9cef2d910df4d8ba3e on expressjs:master.
ping @jonathanong ☺️
friendly ping @jonathanong ☺️
+1