Skip to content

Commit a95b870

Browse files
committed
pipeline: ensure message exists before processing
1 parent e06872d commit a95b870

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/pipeline/file_receiver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ func (fr *FileReceiver) handleMessage(ctx context.Context, sub stream.Subscripti
243243

244244
select {
245245
case m := <-receiver:
246-
if m != nil {
246+
if m != nil && m.msg != nil {
247247
out <- fr.processMessage(m.ctx, m.msg)
248248
return
249249
} else {

0 commit comments

Comments
 (0)