Skip to content

Commit

Permalink
made sure to ignore an error which cannot happen
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Oct 6, 2024
1 parent 4dfb079 commit e290501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ pub fn setup_logging() {

fn main() -> anyhow::Result<()> {
setup_logging();
rustls::crypto::aws_lc_rs::default_provider().install_default();
rustls::crypto::aws_lc_rs::default_provider().install_default().expect("no provider was set as default beforehand");
let release = match option_env!("GIT_COMMIT_SHA") {
Some(s) => Some(Cow::Borrowed(s)),
None => sentry::release_name!(),
Expand Down

0 comments on commit e290501

Please sign in to comment.