This commit is contained in:
parent
d1b6a3e32d
commit
f006e6bfb4
|
@ -22,7 +22,7 @@ import (
|
|||
|
||||
// Recover recovers a panic.
|
||||
func Recover() {
|
||||
if re := recover(); re != nil {
|
||||
if re := recover(); nil != re {
|
||||
glog.Errorf("PANIC RECOVERED:\n %v, %s", re, debug.Stack())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue