Skip to content

Commit

Permalink
fix(es/module): drop the priority of a few tracing events
Browse files Browse the repository at this point in the history
These events don't represent an error condition; they're informative.
  • Loading branch information
crawford committed Aug 5, 2024
1 parent 09158b9 commit 9efd4cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/swc_ecma_loader/src/resolvers/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ impl NodeModulesResolver {
let _tracing = if cfg!(debug_assertions) {
Some(
tracing::span!(
Level::ERROR,
Level::TRACE,
"resolve_as_file",
path = tracing::field::display(path.display())
)
Expand Down Expand Up @@ -239,7 +239,7 @@ impl NodeModulesResolver {
let _tracing = if cfg!(debug_assertions) {
Some(
tracing::span!(
Level::ERROR,
Level::TRACE,
"resolve_as_directory",
path = tracing::field::display(path.display())
)
Expand Down Expand Up @@ -279,7 +279,7 @@ impl NodeModulesResolver {
let _tracing = if cfg!(debug_assertions) {
Some(
tracing::span!(
Level::ERROR,
Level::TRACE,
"resolve_package_entry",
pkg_dir = tracing::field::display(pkg_dir.display()),
pkg_path = tracing::field::display(pkg_path.display()),
Expand Down

0 comments on commit 9efd4cc

Please sign in to comment.