mirror of
https://github.com/TheCommsChannel/TC2-BBS-mesh.git
synced 2024-10-01 01:15:36 -04:00
Add outgoing message contents and destination to logging
This commit is contained in:
parent
5e06ab1e3f
commit
f7b1d49515
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…
Reference in New Issue
Block a user