summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorNick White <git@njw.name>2022-02-24 12:25:20 +0000
committerNick White <git@njw.name>2022-02-24 12:25:20 +0000
commit743f56f43aac7cb2a18de468aeca8eb8ecfdcedf (patch)
tree4b92584193f23bb498119cd0a91e5501b4432762 /cmd
parentd2ff1c8448970a51ca184b900b30cc6b0bb6c3b4 (diff)
rescribe: Improve getgbook failure error dialog by keeping it simple
Diffstat (limited to 'cmd')
-rw-r--r--cmd/rescribe/gui.go2
1 files changed, 1 insertions, 1 deletions
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)
}