diff options
author | Wim <wim@42.be> | 2022-04-25 23:50:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-25 23:50:10 +0200 |
commit | 67adad3e08fe17d5f7e87468ea47aa76e1662255 (patch) | |
tree | 91314fac90d39254e66ae794decfcd21c10a7b20 /vendor/github.com/keybase | |
parent | 2fca3c756373577eab4e0120ccce62eecc1f5ad8 (diff) | |
download | matterbridge-msglm-67adad3e08fe17d5f7e87468ea47aa76e1662255.tar.gz matterbridge-msglm-67adad3e08fe17d5f7e87468ea47aa76e1662255.tar.bz2 matterbridge-msglm-67adad3e08fe17d5f7e87468ea47aa76e1662255.zip |
Update dependencies (#1813)
Diffstat (limited to 'vendor/github.com/keybase')
-rw-r--r-- | vendor/github.com/keybase/go-keybase-chat-bot/kbchat/kbchat.go | 5 |
1 files changed, 3 insertions, 2 deletions
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)} |