LimeChain / hashport-validator

Official repository containing the source code of the Hashport validators
Apache License 2.0
23 stars 11 forks source link

fixes error handling on status codes other than 200 #857

Closed Coiling-Dragon closed 1 year ago

Coiling-Dragon commented 1 year ago

Detailed description:

Which issue(s) this PR fixes: Fixes #

Special notes for your reviewer:

Checklist

codecov[bot] commented 1 year ago

Codecov Report

Merging #857 (292fea9) into main (feabbf9) will increase coverage by 0.01%. The diff coverage is 74.07%.

@@            Coverage Diff             @@
##             main     #857      +/-   ##
==========================================
+ Coverage   64.18%   64.19%   +0.01%     
==========================================
  Files          88       88              
  Lines        6765     6787      +22     
==========================================
+ Hits         4342     4357      +15     
- Misses       2203     2209       +6     
- Partials      220      221       +1     
Flag Coverage Δ
unittests 64.19% <74.07%> (+0.01%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
app/clients/evm/client.go 46.11% <0.00%> (-1.87%) :arrow_down:
app/clients/coin-gecko/client.go 100.00% <100.00%> (ø)
app/clients/coin-market-cap/client.go 100.00% <100.00%> (ø)
app/clients/hedera/mirror-node/client.go 69.00% <100.00%> (ø)
app/helper/http/get.go 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.