threefoldfoundation / tft

Threefold token
Apache License 2.0
5 stars 1 forks source link

Improve logging in the bridge when there is an error refunding #248

Closed robvanmieghem closed 1 year ago

robvanmieghem commented 1 year ago

Currently it keeps logging

ERROR[07-17|12:48:30.386] failed to get signature                  peerID=12D3KooWSMzw97oMJp4eHxLDUcCYF1bk21DkWtzPomPCHZhABt2Z err="The refunded amount does not match the deposit: Invalid transaction"
ERROR[07-17|12:48:35.503] failed to get signature                  peerID=12D3KooWF6t2ArPcHuLZaYmPyfenafuqJCDGpy7tWc92p7wwfDxQ err="The refunded amount does not match the deposit: Invalid transaction"
ERROR[07-17|12:48:35.503] error while refunding                    err="required number of signatures is not met" amount=34.9

Logging the transaction that is being refunded would help. You have to scroll all the way back to where it started now