moov-io / paygate

A RESTful API enabling electronic payments to be submitted and received without a deep understanding payment file specification
http://moov.io
Apache License 2.0
129 stars 31 forks source link

handle error on org config look up #610

Closed jmbrown412 closed 3 years ago

jmbrown412 commented 3 years ago

This PR returns a problem if the err is not nil when trying to look up the org config to get CompanyIdentification for a transfer.

codecov-io commented 3 years ago

Codecov Report

Merging #610 into master will decrease coverage by 0.04%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #610      +/-   ##
==========================================
- Coverage   51.89%   51.84%   -0.05%     
==========================================
  Files          95       95              
  Lines        3224     3227       +3     
==========================================
  Hits         1673     1673              
- Misses       1200     1202       +2     
- Partials      351      352       +1     
Impacted Files Coverage Δ
pkg/transfers/router.go 56.58% <0.00%> (-0.85%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0023617...327069a. Read the comment docs.