+
Skip to content

logging(algod importer): better error messages for GetBlock. #8

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

Merged
merged 4 commits into from
Mar 13, 2023

Conversation

winder
Copy link
Contributor

@winder winder commented Mar 10, 2023

Summary

Better error message for algod importer. The previous messages did not clearly indicate what the user needed to do.

Test Plan

New unit tests.

@winder winder self-assigned this Mar 10, 2023
@codecov
Copy link

codecov bot commented Mar 10, 2023

Codecov Report

❗ No coverage uploaded for pull request base (master@f5c2701). Click here to learn what that means.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master       #8   +/-   ##
=========================================
  Coverage          ?   67.10%           
=========================================
  Files             ?       32           
  Lines             ?     1809           
  Branches          ?        0           
=========================================
  Hits              ?     1214           
  Misses            ?      530           
  Partials          ?       65           
Impacted Files Coverage Δ
conduit/plugins/importers/algod/algod_importer.go 83.70% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -29,6 +34,11 @@ func init() {
ctx, cancel = context.WithCancel(context.Background())
}

// New initializes an algod importer
func New() *algodImporter {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: this probably doesn't need to be exported.

@winder winder merged commit dfab75d into master Mar 13, 2023
@winder winder deleted the will/algod-error-message branch March 13, 2023 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载