dont panic when failing to create admin room response/PDU

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-30 21:04:57 -04:00 committed by June
parent 712cdef6c7
commit 141a6bc73e
2 changed files with 25 additions and 4 deletions

View file

@ -84,9 +84,12 @@ fn main() {
return;
};
#[cfg(feature = "sentry_telemetry")]
let _guard;
#[cfg(feature = "sentry_telemetry")]
if config.sentry {
let _guard = sentry::init((
_guard = sentry::init((
"https://fe2eb4536aa04949e28eff3128d64757@o4506996327251968.ingest.us.sentry.io/4506996334657536",
sentry::ClientOptions {
release: sentry::release_name!(),