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:
B. Petersen
2020-05-05 21:44:03 +02:00
parent 3035c8af30
commit 076cdae3fd

View File

@@ -1215,7 +1215,7 @@ pub fn set_msg_failed(context: &Context, msg_id: MsgId, error: Option<impl AsRef
}
if let Some(error) = error {
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(