[sophon-messager] 推送消息到节点不够钱时也把错误信息记录到数据库
Closed this issue · 0 comments
simlecode commented
Sophon Service / 智子服务
- venus
- sophon-messager
- sophon-miner
- sophon-auth
- sophon-gateway
- sophon-co
- docs / 文档
Description / 描述
推送消息到节点不够钱时也把错误信息记录到数据库,方便排查问题
2023-11-16T10:18:15.373+0800 ERROR publisher publisher/publisher.go:171 failed to push message to node, address: t3sbhegnh7hsy2nl2u4l43tatmgd4pdsxdbwppakanjxo2pnna6rwha7e55vdbisxxxxx, error: failed to check balance: not enough funds (required: 0.08343657656301909 FIL, balance: 0.003413734154635385 FIL): not enough funds to execute transaction, msgs: [bafy2bzacea7g7yved7amwop3lqcpq2zpvptwchupr5tdvaehu22k7hyfzq7de]
- 把错误信息记录到数据库
- 消息上链后考虑把错误信息移除?