uidriver/mobile: Do not use %q at the mobile error message

Closes #1447
This commit is contained in:
Hajime Hoshi 2021-01-02 02:08:34 +09:00
parent c92ccfff79
commit fcbde8d124

View File

@ -255,7 +255,7 @@ func (u *UserInterface) run(context driver.UIContext, mainloop bool) (err error)
// TODO: Panic on other goroutines cannot be handled here. // TODO: Panic on other goroutines cannot be handled here.
defer func() { defer func() {
if r := recover(); r != nil { if r := recover(); r != nil {
err = fmt.Errorf("%v\n%q", r, string(debug.Stack())) err = fmt.Errorf("%v\n%s", r, string(debug.Stack()))
} }
}() }()