We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.unwrap()
.match_version
1 parent 179f2f1 commit 5df77e3Copy full SHA for 5df77e3
src/web/mod.rs
@@ -134,7 +134,7 @@ fn match_version(
134
WHERE normalize_crate_name(name) = normalize_crate_name($1)",
135
&[&name],
136
)
137
- .unwrap(); // FIXME: remove this unwrap when all handlers using it are migrated to axum
+ .context("error fetching crate")?;
138
139
let row = rows.get(0).ok_or(AxumNope::CrateNotFound)?;
140
0 commit comments