Skip to content

Commit fe29799

Browse files
committed
exmdb_provider: emit log message when an OP_MOVE/OP_COPY rule cannot proceed
1 parent 232ca1b commit fe29799

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

exch/exmdb_provider/message.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3204,6 +3204,10 @@ static bool op_move_same(BOOL b_oof, const char *from_address,
32043204
if (!common_util_check_folder_id(psqlite, dst_fid, &b_exist))
32053205
return FALSE;
32063206
if (!b_exist) {
3207+
fprintf(stderr, "W-1978: inbox \"%s\": while processing msgid %llxh (folder %llxh), "
3208+
"an OP_MOVE/OP_COPY rule was disabled "
3209+
"because target folder %llxh does not exist\n",
3210+
znul(account), LLU(message_id), LLU(folder_id), LLU(dst_fid));
32073211
message_make_deferred_error_message(account,
32083212
psqlite, folder_id, message_id, prnode->id,
32093213
RULE_ERROR_MOVECOPY, block.type,

0 commit comments

Comments
 (0)