3 ms·
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
by amanj41 2y 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.
- jub0bs 2y agoInstead of recovering from what clearly is a bug, why not fix that bug instead?