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

refactor: enhance error handle #206

Merged
merged 4 commits into from
Sep 15, 2018
Merged

refactor: enhance error handle #206

merged 4 commits into from
Sep 15, 2018

Conversation

easonlin404
Copy link
Member

Enhance error handle, there are a lot of snippets should returns error instead of panic.

@codecov-io
Copy link

codecov-io commented Sep 13, 2018

Codecov Report

Merging #206 into master will decrease coverage by 0.16%.
The diff coverage is 77.77%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #206      +/-   ##
=========================================
- Coverage   88.76%   88.6%   -0.17%     
=========================================
  Files           5       5              
  Lines        1024    1027       +3     
=========================================
+ Hits          909     910       +1     
- Misses         72      73       +1     
- Partials       43      44       +1
Impacted Files Coverage Δ
parser.go 87.47% <77.77%> (-0.34%) ⬇️

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 dac684d...2436f3f. Read the comment docs.

@easonlin404 easonlin404 changed the title [WIP] refactor: enhance error handle refactor: enhance error handle Sep 13, 2018
@pei0804
Copy link
Member

pei0804 commented Sep 15, 2018

Good!

Copy link
Member

@pei0804 pei0804 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pei0804 pei0804 merged commit fd1af3a into master Sep 15, 2018
@easonlin404 easonlin404 deleted the refactor-error-handle branch February 21, 2019 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants