Skip to content

Commit

Permalink
Add error handling for team reporting in check command
Browse files Browse the repository at this point in the history
  • Loading branch information
dz0ny committed Dec 5, 2024
1 parent 93b10ac commit 4ff32f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ var checkCmd = &cobra.Command{
}
Check()
if team.IsLinked() {
team.ReportToTeam()
err := team.ReportToTeam()
if err != nil {
log.WithError(err).Warn("failed to report to team")
}
}
},
}
Expand Down

0 comments on commit 4ff32f1

Please sign in to comment.