now resetting imap errors after successfull job

This commit is contained in:
2022-04-23 00:21:23 +02:00
parent 007f90d7d6
commit 3ffab25635
4 changed files with 13 additions and 1 deletions

View File

@@ -93,6 +93,15 @@ public class MailingList implements MessageHandler, ProblemListener {
return setFlag(STATE_PUBLIC_ARCHIVE,enabled);
}
@Override
public void clearProblems() {
try {
setLastError(null);
} catch (SQLException e) {
LOG.warn("setLastError(null) failed.");
}
}
/**
* create a new ML object int the database
* @param email