gmail-automata icon indicating copy to clipboard operation
gmail-automata copied to clipboard

More diagnostics about partial rule matches in failure logs

Open dbarnett opened this issue 5 years ago • 1 comments

For emails that fail to match any rule, it would be wonderful if the failure report could list any diagnostics about rules they partially matched. For instance, given a rule like:

(and
  (from [email protected])
  (receiver [email protected]))

You might get a failure email with an error like:

Process email failed: Thread "Invitation to the party" has no action, does it match any rule?
Didn't match rule "(and (from someone@…" on row 5 because sender was "[email protected]", not "[email protected]".

dbarnett avatar Aug 21 '19 21:08 dbarnett

That sounds useful.

Just a reminder that you are the contributor so you could write and push. If you'd like to some input on the change, then create a pull request and we could discuss.

ranmocy avatar Aug 22 '19 02:08 ranmocy