4 ms·
So how you do it is kind of Erlang style: Signal a channel "I died", log it, and die. You don't have to think in N-layers-deep call stacks, that's a Java way o
by JulianMorrison 7y ago
So how you do it is kind of Erlang style: Signal a channel "I died", log it, and die.
You don't have to think in N-layers-deep call stacks, that's a Java way of thinking. Log the problem in sufficient detail where you found it, and stop.
This is probably a use case for Go's panic and recover mechanism, where you actually do want to blow away a whole piece of the running code.