|
|
|
|
|
by nasretdinov
1303 days ago
|
|
The main issues that usually arise as a result of catching panics in handlers like HTTP is that unless code it written very deliberately to be able to recover from being interrupted in the middle of any function call, there is a high risk of e.g. mutexes left locked, which in turn leads to a (silent) program deadlock in general. This has happened during my couple years at Google at least once, even though it wasn't in an HTTP handler, but the issue was very similar. |
|