mirror of
https://github.com/mii443/wasmer.git
synced 2025-09-04 00:19:24 +00:00
Fixed a silly refactoring bug
This commit is contained in:
@ -16,7 +16,6 @@ use crate::{
|
|||||||
DistributionInfo, PackageInfo, PackageSpecifier, PackageSummary, QueryError, Source,
|
DistributionInfo, PackageInfo, PackageSpecifier, PackageSummary, QueryError, Source,
|
||||||
WebcHash,
|
WebcHash,
|
||||||
},
|
},
|
||||||
Authentication,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/// A [`Source`] which will resolve dependencies by pinging a Wasmer-like GraphQL
|
/// A [`Source`] which will resolve dependencies by pinging a Wasmer-like GraphQL
|
||||||
@ -147,7 +146,10 @@ impl WapmSource {
|
|||||||
headers.insert(http::header::AUTHORIZATION, header);
|
headers.insert(http::header::AUTHORIZATION, header);
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
tracing::warn!(error = &*e, "Unable to parse the token into a header",);
|
tracing::warn!(
|
||||||
|
error = &e as &dyn std::error::Error,
|
||||||
|
"Unable to parse the token into a header",
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user