electrumx icon indicating copy to clipboard operation
electrumx copied to clipboard

Remove raw transaction from error message

Open bznein opened this issue 1 year ago • 1 comments

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.

bznein avatar Jan 16 '25 10:01 bznein

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?

SomberNight avatar Jan 17 '25 11:01 SomberNight