Skip to content

Commit 147666a

Browse files
authored
Remove let _ = (#5436)
## Motivation Missed a `let _ = ` on #5431 ## Proposal Remove it ## Test Plan CI
1 parent e56f3fe commit 147666a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

linera-service/src/task_processor.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,12 @@ impl<Env: linera_core::Environment> TaskProcessor<Env> {
270270
}
271271
// Signal that this batch is done so the main loop can process
272272
// the next batch for this application.
273-
let _ = sender.send(TaskMessage::BatchComplete { application_id });
273+
if sender
274+
.send(TaskMessage::BatchComplete { application_id })
275+
.is_err()
276+
{
277+
error!("Outcome receiver dropped for {application_id}");
278+
}
274279
});
275280
}
276281
}

0 commit comments

Comments
 (0)