From b6e58e83a8ed74f3e0a5f7f0955d264febd542ce Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Tue, 10 Apr 2018 16:00:55 +0300 Subject: Include error in pretty panic log --- gomuks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gomuks.go') diff --git a/gomuks.go b/gomuks.go index 5edae3a..494f182 100644 --- a/gomuks.go +++ b/gomuks.go @@ -117,7 +117,7 @@ func (gmx *Gomuks) Recover() { if gmx.debugMode { panic(p) } else { - debug.PrettyPanic() + debug.PrettyPanic(p) } } } -- cgit v1.2.3