From 743f56f43aac7cb2a18de468aeca8eb8ecfdcedf Mon Sep 17 00:00:00 2001 From: Nick White Date: Thu, 24 Feb 2022 12:25:20 +0000 Subject: rescribe: Improve getgbook failure error dialog by keeping it simple --- cmd/rescribe/gui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/rescribe/gui.go b/cmd/rescribe/gui.go index ad33a1e..8603e08 100644 --- a/cmd/rescribe/gui.go +++ b/cmd/rescribe/gui.go @@ -467,7 +467,7 @@ func startGui(log log.Logger, cmd string, gbookcmd string, training string, tess d, err := getGoogleBook(ctx, gbookcmd, bookname, bookdir) if err != nil { if !strings.HasSuffix(err.Error(), "signal: killed") { - msg := fmt.Sprintf("Error downloading Google Book %s: %v\n", bookname, err) + msg := fmt.Sprintf("Error downloading Google Book %s\n", bookname) dialog.ShowError(errors.New(msg), myWindow) fmt.Fprintf(os.Stderr, msg) } -- cgit v1.2.1-24-ge1ad