Skip to content

Commit 1d33625

Browse files
committed
fix
Signed-off-by: Sinelnikov Michail <mikhail.sinelnikov@flant.com>
1 parent 6f5e718 commit 1d33625

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

internal/transport/file/transport.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,9 @@ func (r *Response) Send(res executor.Result) error {
219219
}
220220

221221
for path, collector := range collectors {
222+
if path == "" || collector == nil {
223+
continue
224+
}
222225
err := r.send(path, collector)
223226
if err != nil {
224227
r.logger.Error("sending output", slog.String("path", path), slog.String("error", err.Error()))

0 commit comments

Comments
 (0)