Skip to content

Commit 95c0531

Browse files
fix: removing log noise from printing expected cases of users without connected accounts
1 parent 69b9162 commit 95c0531

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

server/plugin/plugin.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,9 @@ func (p *Plugin) sendRefreshEvent(userID string) {
11121112

11131113
info, apiErr := p.getGitHubUserInfo(context.UserID)
11141114
if apiErr != nil {
1115-
p.client.Log.Warn("Failed to get github user info", "error", apiErr.Error())
1115+
if apiErr.ID != apiErrorIDNotConnected {
1116+
p.client.Log.Debug("Failed to get github user info", "error", apiErr.Error())
1117+
}
11161118
return
11171119
}
11181120

0 commit comments

Comments
 (0)