Closed losalex closed 1 year ago
We talked about this offline but to summarize for posterity: I have concerns that this catch block could hide errors. If callback
throws an exception and this.defaultCallback
is set, the error is swallowed. That could result in logs not making it into Cloud Logging, with no warnings being shown to the user. You told me that this should not be a concern because of how Winston callbacks are structured, so I'm going to try to look more into Winston before finishing the review
Fixes #<732> 🦕