Display an error if message cannot be trashed

This commit is contained in:
Alexander Krotov
2020-03-31 02:42:24 +03:00
parent 4e0a08106d
commit 1b815a7d96

View File

@@ -988,7 +988,7 @@ pub fn delete_msgs(context: &Context, msg_ids: &[MsgId]) {
}
}
if let Err(err) = msg_id.trash(context) {
warn!(context, "Unable to trash message {}: {}", msg_id, err);
error!(context, "Unable to trash message {}: {}", msg_id, err);
}
job_add(
context,