From e290501ff59079203db6bc5a8bd3feba3f27446b Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sun, 6 Oct 2024 17:48:51 +0200 Subject: [PATCH] made sure to ignore an error which cannot happen --- server/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main.rs b/server/src/main.rs index 93233b466..a713eacab 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -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!(),