mirror of
https://github.com/chatmail/relay.git
synced 2026-05-20 04:48:06 +00:00
try debug a CI failure
This commit is contained in:
@@ -20,6 +20,7 @@ class DictProxy:
|
|||||||
|
|
||||||
def handle_dovecot_request(self, msg):
|
def handle_dovecot_request(self, msg):
|
||||||
# see https://doc.dovecot.org/developer_manual/design/dict_protocol/#dovecot-dict-protocol
|
# see https://doc.dovecot.org/developer_manual/design/dict_protocol/#dovecot-dict-protocol
|
||||||
|
print(f"handling msg: {msg!r}")
|
||||||
short_command = msg[0]
|
short_command = msg[0]
|
||||||
parts = msg[1:].split("\t")
|
parts = msg[1:].split("\t")
|
||||||
|
|
||||||
|
|||||||
@@ -74,7 +74,13 @@ class MetadataDictProxy(DictProxy):
|
|||||||
self.notifier.new_message_for_addr(addr, self.metadata)
|
self.notifier.new_message_for_addr(addr, self.metadata)
|
||||||
else:
|
else:
|
||||||
# Transaction failed.
|
# 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():
|
def main():
|
||||||
|
|||||||
Reference in New Issue
Block a user