rust-lang / docs.rs

crates.io documentation generator
https://docs.rs
MIT License
956 stars 193 forks source link

fix panic in target-redirect when called with corrected name #2511

Closed syphar closed 1 month ago

syphar commented 1 month ago

This fixed this panic / sentry error

called Option::unwrap() on a None value

coming from CrateDetails::from_matched_release.

It happens when the handler is called with different dash/underscores than the crate has.

sentry-io[bot] commented 1 month ago

Sentry Issue: DOCS-RS-BACKEND-A8