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

Catch exceptions in freestyle-config #271

Merged
merged 3 commits into from
May 2, 2017
Merged

Catch exceptions in freestyle-config #271

merged 3 commits into from
May 2, 2017

Conversation

peterneyens
Copy link
Member

This changes the return type of all the methods on Config to Either[ConfigException, A] (aliased as Config.Result) and catches ConfigExceptions using Cats' Either.catchOnly.

Fixes #260.

This changes the return type of all the methods on `Config` to
`Either[ConfigException, A]` (aliased as `Config.Result`).
@codecov-io
Copy link

codecov-io commented May 2, 2017

Codecov Report

Merging #271 into master will increase coverage by 1.76%.
The diff coverage is 43.75%.

@@            Coverage Diff             @@
##           master     #271      +/-   ##
==========================================
+ Coverage   72.75%   74.52%   +1.76%     
==========================================
  Files          36       36              
  Lines         312      314       +2     
==========================================
+ Hits          227      234       +7     
+ Misses         85       80       -5

@peterneyens peterneyens requested a review from raulraja May 2, 2017 14:47
@raulraja raulraja merged commit 959708c into master May 2, 2017
@raulraja raulraja deleted the peter-config-catch branch May 2, 2017 15:40
@anamariamv anamariamv added this to Done in freestyle Jul 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants