Unverified Commit a68bbe5e authored by meskio's avatar meskio
Browse files

[bug] let the failure propagate

The failure was processed in start_incoming_mail_service what will make
it return a None when an IncomingMail object was expected. If we
propagate the failure it can be treated properly by the IMAPController.

- Related: #8051
parent 9a0568c1
...@@ -94,5 +94,4 @@ def start_incoming_mail_service(keymanager, soledad, userid): ...@@ -94,5 +94,4 @@ def start_incoming_mail_service(keymanager, soledad, userid):
acc = Account(soledad, userid) acc = Account(soledad, userid)
d = acc.callWhenReady(lambda _: acc.get_collection_by_mailbox(INBOX_NAME)) d = acc.callWhenReady(lambda _: acc.get_collection_by_mailbox(INBOX_NAME))
d.addCallback(setUpIncomingMail) d.addCallback(setUpIncomingMail)
d.addErrback(log.err)
return d return d
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment