Skip to content

Commit f4a7612

Browse files
fix: address CI lint and clarify worker-exit log
- update concurrent worker exit warning per review nit - drop redundant .cloned() in ApiGatewayV2 cookies mapping (clippy lint was pre-existing and unrelated to this PR)
1 parent 2653859 commit f4a7612

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lambda-runtime/src/runtime.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,13 @@ where
209209
Ok(Ok(())) => {
210210
// `concurrent_worker_loop` runs indefinitely, so an Ok return indicates
211211
// an unexpected worker exit; we still decrement because the task is gone.
212-
warn!(remaining_workers, "Concurrent worker exited unexpectedly without error");
212+
warn!(
213+
remaining_workers,
214+
"Concurrent worker exited cleanly (unexpected - loop should run forever)"
215+
);
213216
if first_error.is_none() {
214217
first_error = Some(Box::new(io::Error::other(
215-
"all concurrent workers exited unexpectedly without error",
218+
"all concurrent workers exited cleanly (unexpected - loop should run forever)",
216219
)));
217220
}
218221
}

0 commit comments

Comments
 (0)