remove unwrap from admin room build_and_append_pdu

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-27 17:08:30 -04:00 committed by June
parent 1893b45de3
commit 38c2e5567e
2 changed files with 12 additions and 5 deletions

View file

@ -112,7 +112,10 @@ impl Service {
pub fn start_handler(self: &Arc<Self>) {
let self2 = Arc::clone(self);
tokio::spawn(async move {
self2.handler().await.unwrap();
self2
.handler()
.await
.expect("Failed to initialize request sending handler");
});
}