4 ms·
In the systems I build, I always have the lambda's throw the error to Slack. I have been told many times, that is crazy, and that it doesn't scale. By guess w
by bwship 5y ago
In the systems I build, I always have the lambda's throw the error to Slack. I have been told many times, that is crazy, and that it doesn't scale. By guess what, when a developer's errors are blowing up a slack channel, they always get fixed.
- amirkdv 5y agoDid this actually lead to better error handling? I'd be worried that it leads to silent idioms of "catch-and-drop" to silence the Slack blow up
- bwship 5y agoThere is a risk with it that you just ignore it. We always put it into a separate room for dev staging and prod. So, what will often happen is you might start to see more errors occurring once you push to staging and your tests are running. It doesn't replace tests and the like, and isn't a cure all in terms of how to handle errors, but I have found it pretty helpful. Especially with serverless, because observability is one of the hardest parts of this paradigm.