Skip to content
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

Handle missing endpoint in mapping #41

Conversation

matt-mazzucato
Copy link
Contributor

Return an error instead of crashing when the endpoint is not present within a mapping.
Fix #36

Return an error instead of crashing when the endpoint is not present
within a mapping

Signed-off-by: Mattia Mazzucato <mattia.mazzucato@ispirata.com>
Signed-off-by: Mattia Mazzucato <mattia.mazzucato@ispirata.com>
@matt-mazzucato matt-mazzucato added bug Something isn't working user experience This issue is about user experience labels Jul 31, 2020
@codecov
Copy link

codecov bot commented Jul 31, 2020

Codecov Report

Merging #41 into release-1.0 will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           release-1.0      #41      +/-   ##
===============================================
+ Coverage        84.03%   84.06%   +0.03%     
===============================================
  Files               21       21              
  Lines              476      477       +1     
===============================================
+ Hits               400      401       +1     
  Misses              76       76              
Impacted Files Coverage Δ
lib/astarte_core/interface.ex 93.67% <100.00%> (+0.08%) ⬆️

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 8b934c0...25363b6. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working user experience This issue is about user experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants