From 67adad3e08fe17d5f7e87468ea47aa76e1662255 Mon Sep 17 00:00:00 2001 From: Wim Date: Mon, 25 Apr 2022 23:50:10 +0200 Subject: Update dependencies (#1813) --- vendor/github.com/keybase/go-keybase-chat-bot/kbchat/kbchat.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'vendor/github.com/keybase') diff --git a/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/kbchat.go b/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/kbchat.go index 886cfff2..b4b5e5e8 100644 --- a/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/kbchat.go +++ b/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/kbchat.go @@ -303,7 +303,8 @@ func (a *API) startPipes() (err error) { cmd := a.runOpts.Command("chat", "notification-settings", fmt.Sprintf("-disable-typing=%v", !a.runOpts.EnableTyping)) if err = cmd.Run(); err != nil { - return fmt.Errorf("unable to set notifiation settings %v", err) + // This is a performance optimization but isn't a fatal error. + a.Debug("unable to set notifiation settings %v", err) } a.apiCmd = a.runOpts.Command("chat", "api") @@ -312,7 +313,7 @@ func (a *API) startPipes() (err error) { } output, err := a.apiCmd.StdoutPipe() if err != nil { - return fmt.Errorf("unabel to get api stdout: %v", err) + return fmt.Errorf("unable to get api stdout: %v", err) } if runtime.GOOS != "windows" { a.apiCmd.ExtraFiles = []*os.File{output.(*os.File)} -- cgit v1.2.3