From 4acf138f88301d81048a971937751d4e1c0a8970 Mon Sep 17 00:00:00 2001 From: erikness-doordash Date: Wed, 18 Oct 2023 17:37:14 -0700 Subject: [PATCH] error instead of trace for local testing --- src/dispatcher.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dispatcher.rs b/src/dispatcher.rs index a36ca3b9..0c78a514 100644 --- a/src/dispatcher.rs +++ b/src/dispatcher.rs @@ -16,6 +16,7 @@ use crate::hostcalls; use crate::traits::*; use crate::types::*; use hashbrown::HashMap; +use log::error; use log::trace; use std::cell::{Cell, RefCell}; @@ -435,7 +436,7 @@ impl Dispatcher { Some(id) => *id, None => { // TODO: change back to a panic once underlying issue is fixed. - trace!("on_grpc_receive_initial_metadata: invalid token_id"); + error!("on_grpc_receive_initial_metadata: invalid token_id"); return; } }; @@ -498,7 +499,7 @@ impl Dispatcher { Some(id) => *id, None => { // TODO: change back to a panic once underlying issue is fixed. - trace!("on_grpc_receive_initial_metadata: invalid token_id"); + error!("on_grpc_receive_initial_metadata: invalid token_id"); return; } };