mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 10:56:29 +03:00
Always describe the context of the displayed error
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 {
|
||||
msg.param.set(Param::Error, error.as_ref());
|
||||
error!(context, "{}", error.as_ref());
|
||||
error!(context, "Message failed: {}", error.as_ref());
|
||||
}
|
||||
|
||||
if sql::execute(
|
||||
|
||||
Reference in New Issue
Block a user