mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 08:56:30 +03:00
refactor: better error context in send_webxdc_status_update_struct()
This commit is contained in:
@@ -512,8 +512,9 @@ impl Context {
|
|||||||
send_now,
|
send_now,
|
||||||
ContactId::SELF,
|
ContactId::SELF,
|
||||||
)
|
)
|
||||||
.await?
|
.await
|
||||||
.context("Failed to create status update")?;
|
.context("Failed to create status update")?
|
||||||
|
.context("Duplicate status update UID was generated")?;
|
||||||
|
|
||||||
if send_now {
|
if send_now {
|
||||||
self.sql.insert(
|
self.sql.insert(
|
||||||
|
|||||||
Reference in New Issue
Block a user