celestiaorg / go-header

Go library with all the services needed to request, sync and store blockchain headers.
Apache License 2.0
19 stars 18 forks source link

fix(store): add error details to log output during header batch write #158

Closed tzdybal closed 6 months ago

tzdybal commented 7 months ago

Overview

The log output has been updated for a better troubleshooting experience when writing a batch of headers. Previously, when an error occurred, the log provided 'from' and 'to' ranges without specifying the actual error. Now, the 'err' parameter has been added to provide more information about the exact issue.

Checklist

codecov-commenter commented 7 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (aecd7cf) 63.01% compared to head (f04afa9) 62.95%.

Files Patch % Lines
store/store.go 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #158 +/- ## ========================================== - Coverage 63.01% 62.95% -0.06% ========================================== Files 39 39 Lines 3593 3593 ========================================== - Hits 2264 2262 -2 - Misses 1155 1157 +2 Partials 174 174 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.