Skip to content

Commit

Permalink
error instead of trace for local testing
Browse files Browse the repository at this point in the history
  • Loading branch information
erikness-doordash committed Oct 19, 2023
1 parent 96890a9 commit 4acf138
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/dispatcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};

Expand Down Expand Up @@ -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;
}
};
Expand Down Expand Up @@ -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;
}
};
Expand Down

0 comments on commit 4acf138

Please sign in to comment.