Skip to content

Commit

Permalink
removed some tracing calls
Browse files Browse the repository at this point in the history
  • Loading branch information
amitu committed Feb 21, 2024
1 parent 45f5345 commit 5c6d56b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions fastn-core/src/package/package_doc.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
impl fastn_core::Package {
#[tracing::instrument(skip(self, ds))]
pub(crate) async fn fs_fetch_by_file_name(
&self,
name: &str,
package_root: Option<&fastn_ds::Path>,
ds: &fastn_ds::DocumentStore,
) -> fastn_core::Result<Vec<u8>> {
tracing::info!(document = name);
tracing::debug!(document = name);
let package_root = self.package_root_with_default(package_root)?;

let file_path = package_root.join(name.trim_start_matches('/'));
Expand Down Expand Up @@ -70,7 +69,6 @@ impl fastn_core::Package {
Ok(manifest)
}

#[tracing::instrument(skip(self, ds))]
pub(crate) async fn fs_fetch_by_id(
&self,
id: &str,
Expand Down

0 comments on commit 5c6d56b

Please sign in to comment.