Skip to content

Commit 7b641ae

Browse files
committed
chore: cleanup trace level span
1 parent 0d71168 commit 7b641ae

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/rust/driver/src/catalogue_manager.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use maplit::hashset;
1010
use pact_models::content_types::ContentType;
1111
use regex::Regex;
1212
use serde::{Deserialize, Serialize};
13-
use tracing::{debug, error, trace};
13+
use tracing::{debug, error, instrument, trace};
1414

1515
use crate::content::{ContentGenerator, ContentMatcher};
1616
use crate::plugin_models::PactPluginManifest;
@@ -195,6 +195,7 @@ pub fn remove_plugin_entries(name: &str) {
195195
}
196196

197197
/// Find a content matcher in the global catalogue for the provided content type
198+
#[instrument(level = "trace", skip(content_type))]
198199
pub fn find_content_matcher<CT: Into<String>>(content_type: CT) -> Option<ContentMatcher> {
199200
let content_type_str = content_type.into();
200201
debug!("Looking for a content matcher for {}", content_type_str);

0 commit comments

Comments
 (0)