remove unwrap from admin room build_and_append_pdu
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
1893b45de3
commit
38c2e5567e
2 changed files with 12 additions and 5 deletions
|
@ -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");
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue