mirror of
https://github.com/chatmail/core.git
synced 2026-05-01 20:36:31 +03:00
do not show errors during sending as a ephemeral popup or so, just set the message-state to failed, the error can be queried by the user at any time via 'Info' or so
This commit is contained in:
@@ -1215,7 +1215,7 @@ pub fn set_msg_failed(context: &Context, msg_id: MsgId, error: Option<impl AsRef
|
|||||||
}
|
}
|
||||||
if let Some(error) = error {
|
if let Some(error) = error {
|
||||||
msg.param.set(Param::Error, error.as_ref());
|
msg.param.set(Param::Error, error.as_ref());
|
||||||
error!(context, "Message failed: {}", error.as_ref());
|
warn!(context, "Message failed: {}", error.as_ref());
|
||||||
}
|
}
|
||||||
|
|
||||||
if sql::execute(
|
if sql::execute(
|
||||||
|
|||||||
Reference in New Issue
Block a user