Add error line for rpc fails in dispatch

This commit is contained in:
lash 2022-05-04 06:44:40 +00:00
parent 54d10ee40b
commit 3e05717395
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
1 changed files with 2 additions and 1 deletions

View File

@ -135,7 +135,8 @@ class ChaindFsAdapter(ChaindAdapter):
r = None
try:
r = self.dispatcher.send(tx_wire)
except RPCException:
except RPCException as e:
logg.error('dispatch send failed for {}: {}'.format(tx_hash, e))
self.store.fail(tx_hash)
return False