Skip to content

Commit 7e1b91d

Browse files
committed
Remove let _ = (#5436)
## Motivation Missed a `let _ = ` on #5431 ## Proposal Remove it ## Test Plan CI
1 parent c14107b commit 7e1b91d

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
@@ -267,7 +267,12 @@ impl<Env: linera_core::Environment> TaskProcessor<Env> {
267267
}
268268
// Signal that this batch is done so the main loop can process
269269
// the next batch for this application.
270-
let _ = sender.send(TaskMessage::BatchComplete { application_id });
270+
if sender
271+
.send(TaskMessage::BatchComplete { application_id })
272+
.is_err()
273+
{
274+
error!("Outcome receiver dropped for {application_id}");
275+
}
271276
});
272277
}
273278
}

0 commit comments

Comments
 (0)