Hacker News new | ask | show | jobs
by amanj41 472 days ago
Yes that is common. I was more talking about the case where someone perhaps introduces a bug causing a nil pointer dereference on some requests, so the panic is not explicitly called in code. In which case you would definitely want the recover in place.
1 comments

Instead of recovering from what clearly is a bug, why not fix that bug instead?