From c74c0dbd0c426875b1f83cbe7ee8de58576fd85a Mon Sep 17 00:00:00 2001 From: Chrislearn Young Date: Thu, 23 Nov 2023 09:15:57 +0800 Subject: [PATCH] Avoid to trace error when `FlowCtrlService` skipped. (#503) --- crates/core/src/tower_compat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core/src/tower_compat.rs b/crates/core/src/tower_compat.rs index f60e143c9..a234697f7 100644 --- a/crates/core/src/tower_compat.rs +++ b/crates/core/src/tower_compat.rs @@ -241,7 +241,7 @@ where *origin_ctrl = ctrl; *req = request; } else { - tracing::error!("`FlowCtrlOutContext` should exists in response extensions."); + tracing::debug!("`FlowCtrlOutContext` does not exists in response extensions, `FlowCtrlService` may not be used."); } res.merge_hyper(hyper_res);