File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 66use async_trait:: async_trait;
77use std:: sync:: Arc ;
88use tonic:: { Request , Response , Status } ;
9- use tracing:: debug;
9+ use tracing:: { debug, error } ;
1010
1111use crate :: processor:: proc:: { ConfigChannelRequest , ConfigRequest , ConfigResponse } ;
1212use config:: converters:: grpc:: {
@@ -172,7 +172,11 @@ impl ConfigManager for BasicConfigManager {
172172 debug ! ( "Received request to apply new config" ) ;
173173
174174 // Convert config from gRPC to native external model
175- let external_config = convert_gateway_config_from_grpc_with_defaults ( & grpc_config) ?;
175+ let external_config = convert_gateway_config_from_grpc_with_defaults ( & grpc_config)
176+ . map_err ( |e| {
177+ error ! ( "Failed to process apply config: {e}" ) ;
178+ e
179+ } ) ?;
176180
177181 // Create a new GwConfig with this ExternalConfig
178182 let gw_config = Box :: new ( GwConfig :: new ( external_config) ) ;
You can’t perform that action at this time.
0 commit comments