Skip to content

fix(imap): catch ClientException in SubmitContentJob - #13629

Open
ChristophWurst wants to merge 1 commit into
feat/jmap-2from
fix/jmap-2-submitcontentjob-clientexception
Open

fix(imap): catch ClientException in SubmitContentJob#13629
ChristophWurst wants to merge 1 commit into
feat/jmap-2from
fix/jmap-2-submitcontentjob-clientexception

Conversation

@ChristophWurst

Copy link
Copy Markdown
Member

MailManager::getImapMessage() documents throwing ClientException when a message no longer exists on the remote server, but this job only caught ServiceException and SmimeDecryptException. A message vanishing between the DB write and this job running aborted the whole run instead of skipping that one message.

Assisted-by: ClaudeCode:claude-opus-4-8

馃 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

MailManager::getImapMessage() documents throwing ClientException
when a message no longer exists on the remote server, but this job
only caught ServiceException and SmimeDecryptException. A message
vanishing between the DB write and this job running aborted the
whole run instead of skipping that one message.

Assisted-by: ClaudeCode:claude-opus-4-8
Signed-off-by: Christoph Wurst <1374172+ChristophWurst@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants