11f7f4963f
Well, it turns out glog.Fail is slightly better than panic, because it explicitly dumps the stacks of *all* goroutines. This is especially good in logging scenarios. It's really annoying that glog suppresses printing the stack trace (see here https://github.com/golang/glog/blob/master/glog.go#L719), however this is better. |
||
---|---|---|
.. | ||
assert.go | ||
fail.go |