From 56e15b4dce65a06bdb10dd60c04d26bd912ef140 Mon Sep 17 00:00:00 2001 From: erikness-doordash Date: Wed, 25 Oct 2023 12:53:44 -0700 Subject: [PATCH] Panic to trace for on_grpc_receive() as well Signed-off-by: erikness-doordash --- src/dispatcher.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dispatcher.rs b/src/dispatcher.rs index a1bbc7e..7acb14a 100644 --- a/src/dispatcher.rs +++ b/src/dispatcher.rs @@ -483,7 +483,9 @@ impl Dispatcher { root.on_grpc_stream_message(token_id, response_size); } } else { - panic!("invalid token_id") + // TODO: change back to a panic once underlying issue is fixed. + trace!("on_grpc_receive_initial_metadata: invalid token_id"); + return; } }