nimbus-eth2
nimbus-eth2 copied to clipboard
Unhelpful error message in EL monitoring
Whenever something goes wrong with the EL, the following log line is printed:
WRN 2023-05-05 08:55:52.726+00:00 Eth1 chain monitoring failure, restarting topics="eth1" err="getBlockByHash(m.dataProvider,\n BlockHash(m.depositsChain.finalizedBlockHash.data)) failed 3 times. Last error: Parameter [result] expected JObject but got JNull"
Rather than printing the parsing failure, a sanitized (ie ascii-only?) version of the first few hundred bytes of the actual response would be more useful to see here.
Still relevant in 22.5.1 (err still missing underlying response):
WRN 2023-05-23 10:45:17.274+02:00 Still failing to obtain the most recent known block from the execution layer node (the node is probably still not synced) topics="elmon" url=http://brevis:8551 blk=0xa21361d0423cc888e1269e52ab4d4256595f2303949cf384a9c8b35bf44acb8d err="Parameter [result] expected JObject but got JNull"