From fcbde8d12476e9b210fa6282d22c9cfd6f6e9645 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 2 Jan 2021 02:08:34 +0900 Subject: [PATCH] uidriver/mobile: Do not use %q at the mobile error message Closes #1447 --- internal/uidriver/mobile/ui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/uidriver/mobile/ui.go b/internal/uidriver/mobile/ui.go index ec2a9b619..468831721 100644 --- a/internal/uidriver/mobile/ui.go +++ b/internal/uidriver/mobile/ui.go @@ -255,7 +255,7 @@ func (u *UserInterface) run(context driver.UIContext, mainloop bool) (err error) // TODO: Panic on other goroutines cannot be handled here. defer func() { 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())) } }()