fix(resolver): log error as debug so it does not print the error by default

This commit is contained in:
Boshen 2023-09-29 23:41:44 +13:00
parent fbbc1fe6bd
commit 384c3fc00f
No known key found for this signature in database
GPG key ID: 234DA6A7079C6801

View file

@ -178,7 +178,7 @@ impl<Fs: FileSystem> ResolverGeneric<Fs> {
let r = self.resolve_impl(path, specifier);
match &r {
Ok(r) => tracing::debug!(path = ?path, specifier = specifier, ret = ?r.path),
Err(err) => tracing::error!(path = ?path, specifier = specifier, err = ?err),
Err(err) => tracing::debug!(path = ?path, specifier = specifier, err = ?err),
};
r
}