Skip to content

Commit 3957352

Browse files
committed
add trace
1 parent 0ec1bb3 commit 3957352

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

services/mailer/mail_workflow_run.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func composeAndSendActionsWorkflowRunStatusEmail(ctx context.Context, repo *repo
122122
}
123123
msgs := make([]*sender_service.Message, 0, len(tos))
124124
for _, rec := range tos {
125-
log.Trace("Composing actions email and send to %s (UID: %d)", rec.Name, rec.ID)
125+
log.Trace("Composing actions email and sending to %s (UID: %d)", rec.Name, rec.ID)
126126
msg := sender_service.NewMessageFrom(
127127
rec.Email,
128128
displayName,
@@ -167,7 +167,6 @@ func MailActionsTrigger(ctx context.Context, sender *user_model.User, repo *repo
167167
}
168168

169169
if len(recipients) > 0 {
170-
log.Trace("MailActionsTrigger: will try to send actions email")
171170
composeAndSendActionsWorkflowRunStatusEmail(ctx, repo, run, sender, recipients)
172171
}
173172
}

0 commit comments

Comments
 (0)