Skip to content

Commit ec9d2ac

Browse files
authored
fix typo in message about panicking handler (#1515)
1 parent 6596260 commit ec9d2ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dropshot/src/server.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -961,13 +961,13 @@ async fn http_request_handle<C: ServerContext>(
961961

962962
// The only way we can fail to receive on `rx` is if `tx` is
963963
// dropped before a result is sent, which can only happen if
964-
// `handle_request` panics. We will propogate such a panic here,
964+
// `handle_request` panics. We will propagate such a panic here,
965965
// just as we would have in `CancelOnDisconnect` mode above (where
966966
// we call the handler directly).
967967
match rx.await {
968968
Ok(result) => result?,
969969
Err(_) => {
970-
error!(request_log, "handler panicked; propogating panic");
970+
error!(request_log, "handler panicked; propagating panic");
971971

972972
// To get the panic, we now need to await `handler_task`; we
973973
// know it is complete _and_ it failed, because it has

0 commit comments

Comments
 (0)