Skip to content

Commit

Permalink
Use trace rather than error
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles committed Feb 8, 2024
1 parent af5a97f commit 568acdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/cdk_runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use rand::rngs::StdRng;
use rand::{Rng, SeedableRng};
use serde::{Deserialize, Deserializer, Serialize, Serializer};
use std::time::Duration;
use tracing::error;
use tracing::{error, trace};

pub struct CdkRuntime {
rng: StdRng,
Expand Down Expand Up @@ -58,7 +58,7 @@ async fn flush_async<F: FnOnce()>(
trigger_retry();
error!(?error, %canister_id, events = events_len, "Failed to call 'push_events'");
} else {
error!(%canister_id, events = events_len, "Successfully pushed events");
trace!(%canister_id, events = events_len, "Successfully pushed events");
}
}

Expand Down

0 comments on commit 568acdb

Please sign in to comment.