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

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