Skip to content

python sometimes throws error while sending private message with 'send_msg_with_retry' #91

Description

@do6uk

sending private messages with 'send_msg_with_retry' sometimes failes with following exception ...

File "/home/rainer/.local/lib/python3.13/site-packages/meshcore/commands/messaging.py", line 150, in send_msg_with_retry
exp_ack = result.payload["expected_ack"].hex()
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'expected_ack'

it is not clear what caused the error. same message at same contact mostly works - sometimes didn't

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions