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

Still sending Error alerts #30

Open
bh2smith opened this issue Oct 19, 2021 · 0 comments
Open

Still sending Error alerts #30

bh2smith opened this issue Oct 19, 2021 · 0 comments

Comments

@bh2smith
Copy link
Contributor

bh2smith commented Oct 19, 2021

Somehow, this code block (even though it is just a print statement) is still appears as an error in our alerts channel.

I have also checked with devops to see if they have some of their own triggers for such alerts (like any string containing "failed" or something).

etherbalance/src/main.rs

Lines 151 to 161 in c13d061

Err(err) => {
success_metric
.with_label_values(&["failure", &format!("{:#x}", params.address)])
.inc();
println!(
"failed to get balance for address {} token {}: {}",
&format!("{:#x}", params.address),
params.token_name,
err
);
}

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

No branches or pull requests

1 participant