Skip to content

Commit

Permalink
no need to say "error"
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Jackson <35783387+jason-jackson@users.noreply.github.com>
  • Loading branch information
briskt and jason-jackson authored Jan 27, 2025
1 parent fb633d6 commit ce8f297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alert/alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func sendAnEmail(emailMsg types.Message, recipient string, cfg Config) error {

result, err := svc.SendEmail(context.Background(), input)
if err != nil {
return fmt.Errorf("error sending email, error: %w", err)
return fmt.Errorf("error sending email: %w", err)
}
log.Printf("alert message sent to %s, message ID: %s", recipient, *result.MessageId)
return nil
Expand Down

0 comments on commit ce8f297

Please sign in to comment.