Skip to content

Commit

Permalink
fix: temporarily avoiding error instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
helio-frota committed Jul 10, 2024
1 parent 388d7dd commit daede78
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/importer/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ struct Server {
}

impl Server {
#[instrument(skip_all, err)]
// TODO: revisit this later
// discarding error instrumentation for a while... #[instrument(skip_all, err)]
// tracing_attributes crate is going crazy when enabling error instrumentation.
// https://docs.rs/tracing/latest/tracing/attr.instrument.html
#[instrument(skip_all)]
async fn run(&self) -> anyhow::Result<()> {
let service = ImporterService::new(self.db.clone());

Expand Down

0 comments on commit daede78

Please sign in to comment.