ソースを参照

Mail fetcher Timeout exception

Guénaël Muller 7 年 前
コミット
3fd01f4631
共有1 個のファイルを変更した3 個の追加0 個の削除を含む
  1. 3 0
      tracim/tracim/lib/email_fetcher.py

+ 3 - 0
tracim/tracim/lib/email_fetcher.py ファイルの表示

@@ -206,6 +206,9 @@ class MailFetcher(object):
206 206
                                  for m in messages]
207 207
                 self._notify_tracim(cleaned_mails)
208 208
                 self._disconnect()
209
+            except filelock.Timeout as e:
210
+                log = 'Mail Fetcher Lock Timeout {}'
211
+                logger.warning(self, log.format(e.__str__()))
209 212
             except Exception as e:
210 213
                 # TODO - G.M - 2017-11-23 - Identify possible exceptions
211 214
                 log = 'IMAP error: {}'