electrumx
electrumx copied to clipboard
Remove raw transaction from error message
Errors tend to end up in logs, and logs should not contain sensitive data, so it is better to remove the raw tx from the error message.
It is often useful to see the transaction to be able to better understand and debug the error.
Could you provide more context: which logs are you trying to avoid getting the transaction logged in? In the server's log, or in the client's log?