improve admin command error propagation
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -523,8 +523,7 @@ impl Service {
|
||||
if self.services.admin.is_admin_command(pdu, &body).await {
|
||||
self.services
|
||||
.admin
|
||||
.command(body, Some((*pdu.event_id).into()))
|
||||
.await;
|
||||
.command(body, Some((*pdu.event_id).into()))?;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user