Commit 055abee0 authored by Thomas Lavocat's avatar Thomas Lavocat
Browse files

Add logs to find the bug

parent d63740e2
......@@ -368,7 +368,13 @@ class Erebor:
final_cllbck,
final_cllbck_value)
logger.info("FROM {} EXECUTE ACTION {}".format(local_from,decoded_message[consts.ACTION]))
logger.info(("FROM {} EXECUTE ACTION {} ON NETWORK {}"
"snode {} snetid {} dnode {} dnetid {}"
).format(
local_from,
decoded_message[consts.ACTION],
network.ID,
snode, snetid, dnode, dnetid))
# make it spawn nodes
if decoded_message[consts.ACTION] == consts.SPAWN :
if int(decoded_message[consts.CALLBACK]) > -1 :
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment