ashwanthkumar / suuchi

सूचि - Toolkit to build Distributed Data Systems
https://ashwanthkumar.github.io/suuchi/
53 stars 12 forks source link

Look at Error handling #36

Open ashwanthkumar opened 7 years ago

ashwanthkumar commented 7 years ago

Today we don't do any try .. catch anywhere in the project. gRPC seems to be throwing a lot of RuntimeException at different places. We need to track each of them and address them. This is more of an epic which will be on-going for a while.

For any PRs or commits that has discussions related to this, please tag them with this issue so it's automatically tracked.

ashwanthkumar commented 7 years ago

Almost all catastrophic failures (48 in total – 92%) are the result of incorrect handling of non-fatal errors explicitly signalled in software.

Something that came up today on why this is so important - https://blog.acolyer.org/2016/10/06/simple-testing-can-prevent-most-critical-failures/