Skip to content

Ensure delete happens even if error#2

Open
marcesher wants to merge 9 commits intotaknb2nch:masterfrom
marcesher:master
Open

Ensure delete happens even if error#2
marcesher wants to merge 9 commits intotaknb2nch:masterfrom
marcesher:master

Conversation

@marcesher
Copy link

The existing behavior for errors is that if an error occurs, the code to delete the email does not get run. Consequently, an email that's causing an error continues to do so until a human intervenes.

With this patch, the deletion logic is moved up such that if an error occurs, the email is deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant