mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
try debug a CI failure
This commit is contained in:
@@ -20,6 +20,7 @@ class DictProxy:
|
||||
|
||||
def handle_dovecot_request(self, msg):
|
||||
# see https://doc.dovecot.org/developer_manual/design/dict_protocol/#dovecot-dict-protocol
|
||||
print(f"handling msg: {msg!r}")
|
||||
short_command = msg[0]
|
||||
parts = msg[1:].split("\t")
|
||||
|
||||
|
||||
@@ -74,7 +74,13 @@ class MetadataDictProxy(DictProxy):
|
||||
self.notifier.new_message_for_addr(addr, self.metadata)
|
||||
else:
|
||||
# Transaction failed.
|
||||
self.transactions[transaction_id]["res"] = "F\n"
|
||||
try:
|
||||
self.transactions[transaction_id]["res"] = "F\n"
|
||||
except KeyError:
|
||||
logging.error(
|
||||
f"clearing transaction failed: {transaction_id} {self.transactions}"
|
||||
)
|
||||
raise
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
Reference in New Issue
Block a user