Hacker News new | ask | show | jobs
by Vendan 3143 days ago
Or, you just catch the panic in a defer up the call chain, log the error, and then exit that goroutine. Like: https://golang.org/src/net/http/server.go#L1694