mirror of
https://github.com/djcb/mu.git
synced 2024-06-28 07:41:04 +02:00
* mu-cmd-server: properly report errors when moving/flagging
This commit is contained in:
parent
8888953a9b
commit
4d6ea2346b
|
@ -550,6 +550,9 @@ move_or_flag (MuStore *store, MuQuery *query, GSList *args, gboolean is_move,
|
|||
merr = do_move (store, docid, msg, mdir, flags, is_move, err);
|
||||
mu_msg_unref (msg);
|
||||
|
||||
if (merr != MU_OK)
|
||||
return server_error (err, merr, "error moving/flagging file");
|
||||
|
||||
return merr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user