-
Notifications
You must be signed in to change notification settings - Fork 205
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
Improve error logging in toCeloFn #2157
Conversation
curr, _ := currencyManager.GetCurrency(feeCurrency) | ||
curr, err := currencyManager.GetCurrency(feeCurrency) | ||
if err != nil { | ||
log.Error("toCeloFn: could not get currency", "err", err) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should help a lot, since we just discarded all the useful error information before.
Coverage from tests in coverage: 48.9% of statements across all listed packagescoverage: 63.0% of statements in consensus/istanbul coverage: 40.5% of statements in consensus/istanbul/announce coverage: 54.5% of statements in consensus/istanbul/backend coverage: 0.0% of statements in consensus/istanbul/backend/backendtest coverage: 24.3% of statements in consensus/istanbul/backend/internal/replica coverage: 61.0% of statements in consensus/istanbul/core coverage: 45.0% of statements in consensus/istanbul/db coverage: 0.0% of statements in consensus/istanbul/proxy coverage: 64.4% of statements in consensus/istanbul/uptime coverage: 51.8% of statements in consensus/istanbul/validator coverage: 79.2% of statements in consensus/istanbul/validator/random |
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #2157 +/- ##
==========================================
+ Coverage 55.17% 55.18% +0.01%
==========================================
Files 673 676 +3
Lines 113208 113888 +680
==========================================
+ Hits 62458 62849 +391
- Misses 46915 47175 +260
- Partials 3835 3864 +29
☔ View full report in Codecov by Sentry. |
This might help us debug #2134 if it happens again.
652df2a
to
a10ae25
Compare
This might help us debug
#2134 if it happens again.