try debug a CI failure

This commit is contained in:
holger krekel
2024-07-25 13:25:38 +02:00
parent 765f081f6f
commit da3eb89b67
2 changed files with 8 additions and 1 deletions

View File

@@ -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")

View File

@@ -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():