diff --git a/src/dispatcher.rs b/src/dispatcher.rs index a36ca3b..0c78a51 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; } };