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

fee-recipient: update error log to warn log #10684

Merged
merged 7 commits into from
May 16, 2022

Conversation

james-prysm
Copy link
Contributor

What type of PR is this?

Other

related to #10292

What does this PR do? Why is it needed?
Error logs might be a little too scary for our end users ( especially developers) when not setting fee recipient, instead of using an error type we can use a warn type.

@james-prysm james-prysm requested a review from a team as a code owner May 12, 2022 20:10
}).Error("Fee recipient not set. Using burn address")
}).Warn("Fee recipient not set. Using burn address. " +
"You will not be rewarded transaction fees on this setting. " +
"Please set a different fee recipient.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's avoid periods in our logs. Also, we should perhaps tell them to read our documentation regarding fee recipients?

@james-prysm james-prysm added OK to merge UX cosmetic / user experience related labels May 16, 2022
@prylabs-bulldozer prylabs-bulldozer bot merged commit 16e66ee into develop May 16, 2022
@delete-merged-branch delete-merged-branch bot deleted the fee-recipient-log-update branch May 16, 2022 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UX cosmetic / user experience related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants