Skip to content

Commit 38127af

Browse files
Merge pull request #268 from gabriel-samfira/lower-log-level
Lower the log level of ignored jobs
2 parents 98b8a7f + 1dfa74e commit 38127af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runner/pool/pool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func (r *basePoolManager) HandleWorkflowJob(job params.WorkflowJob) error {
158158
// This job is new to us. Check if we have a pool that can handle it.
159159
potentialPools, err := r.store.FindPoolsMatchingAllTags(r.ctx, r.entity.EntityType, r.entity.ID, jobParams.Labels)
160160
if err != nil {
161-
slog.With(slog.Any("error", err)).ErrorContext(
161+
slog.With(slog.Any("error", err)).WarnContext(
162162
r.ctx, "failed to find pools matching tags; not recording job",
163163
"requested_tags", strings.Join(jobParams.Labels, ", "))
164164
return

0 commit comments

Comments
 (0)