edgexfoundry / app-functions-sdk-go

Owner: Applications WG
Apache License 2.0
43 stars 81 forks source link

fix: return correct errors #1572

Closed dovholuknf closed 6 months ago

dovholuknf commented 6 months ago

while reviewing code, noticed two errors that were erroneously used

codecov-commenter commented 6 months ago

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 65.43%. Comparing base (4e2b535) to head (e0ce56a).

Files Patch % Lines
internal/webserver/server.go 0.00% 2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1572 +/- ## ======================================= Coverage 65.43% 65.43% ======================================= Files 36 36 Lines 3289 3289 ======================================= Hits 2152 2152 Misses 994 994 Partials 143 143 ```

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