Skip to content

Commit 2b52011

Browse files
sypharjyn514
authored andcommitted
don't report sentry error for invalid semver requirements
1 parent 589bc7e commit 2b52011

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/web/mod.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,11 @@ fn match_version(
333333
VersionReq::STAR
334334
} else {
335335
VersionReq::parse(&req_version).map_err(|err| {
336-
report_error(&anyhow!(err).context("could not parse version requirement"));
336+
log::info!(
337+
"could not parse version requirement \"{}\": {:?}",
338+
req_version,
339+
err
340+
);
337341
Nope::VersionNotFound
338342
})?
339343
};

0 commit comments

Comments
 (0)