Don't exit before printing the panic log

This commit is contained in:
risk danger olson 2013-12-05 15:24:26 -07:00 committed by Rick Olson
parent 7742c445f1
commit c8e63fd3d8

@ -30,8 +30,9 @@ func Exit(format string, args ...interface{}) {
}
func Panic(err error, format string, args ...interface{}) {
defer handlePanic(err)
Exit(format, args...)
Print(format, args...)
handlePanic(err)
os.Exit(2)
}
func Debug(format string, args ...interface{}) {