refactor: better error context in send_webxdc_status_update_struct()

This commit is contained in:
link2xt
2023-12-01 04:21:44 +00:00
parent 0e195bc7a2
commit 7beccd9dbc

View File

@@ -512,8 +512,9 @@ impl Context {
send_now,
ContactId::SELF,
)
.await?
.context("Failed to create status update")?;
.await
.context("Failed to create status update")?
.context("Duplicate status update UID was generated")?;
if send_now {
self.sql.insert(