mirror of
https://github.com/TheCommsChannel/TC2-BBS-mesh.git
synced 2025-07-10 16:59:27 -04:00
Add outgoing message contents and destination to logging
This commit is contained in:
parent
5e06ab1e3f
commit
f7b1d49515
1 changed files with 2 additions and 1 deletions
3
utils.py
3
utils.py
|
@ -23,7 +23,8 @@ def send_message(message, destination, interface):
|
||||||
wantAck=False,
|
wantAck=False,
|
||||||
wantResponse=False
|
wantResponse=False
|
||||||
)
|
)
|
||||||
logging.info(f"REPLY SEND ID={d.id}")
|
destid = get_node_id_from_num(destination, interface)
|
||||||
|
logging.info(f"Sending message \"{chunk.replace("\n", "\\n")}\" to {destid} ({get_node_short_name(destid, interface)}). REPLY SEND ID={d.id}.")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.info(f"REPLY SEND ERROR {e.message}")
|
logging.info(f"REPLY SEND ERROR {e.message}")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue