aboutsummaryrefslogtreecommitdiff
path: root/gomuks.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-04-10 16:00:55 +0300
committerTulir Asokan <tulir@maunium.net>2018-04-10 16:01:01 +0300
commitb6e58e83a8ed74f3e0a5f7f0955d264febd542ce (patch)
tree37c2994aa3ed8c143e98c9c0176ed9be403553d0 /gomuks.go
parenteda2b575f06e72040ebf82d24a7ec1ac84b7948c (diff)
Include error in pretty panic log
Diffstat (limited to 'gomuks.go')
-rw-r--r--gomuks.go2
1 files changed, 1 insertions, 1 deletions
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)
}
}
}