Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove raw transaction from error message #286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bznein
Copy link

@bznein bznein commented Jan 16, 2025

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.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.
@SomberNight
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants