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

Error handling improvements for go-mail-middleware #11

Merged
merged 7 commits into from
Oct 30, 2022

Conversation

alexballas
Copy link
Contributor

Should be wrapping sentinel errors where possible and allow users to use errors.Is if they want to

wneessen and others added 5 commits October 30, 2022 13:33
Documentation and tests still pending
This is the preferred solution of the first thought of direct DKIM implementation in go-mail (see: wneessen/go-mail#28)

This commit adds 96% test coverage and minimal documentation via README.md
@alexballas alexballas force-pushed the feature/improve_error_handling branch from a26e7b3 to e82b0f3 Compare October 30, 2022 11:34
@alexballas alexballas force-pushed the feature/improve_error_handling branch from e82b0f3 to 52b259b Compare October 30, 2022 11:35
@wneessen
Copy link
Owner

@alexballas Thanks for the PR Alex. Good idea to introduce proper error wraping.
Can you pleas resolve the conflicts first, I'll merge the PR once everything is green

@alexballas
Copy link
Contributor Author

No worries. Let me know if that works for you. Hopefully nothing got messed up during the conflict merging.

@codecov-commenter
Copy link

Codecov Report

Merging #11 (4bb7891) into main (7c8b26c) will decrease coverage by 0.02%.
The diff coverage is 94.44%.

@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
- Coverage   94.95%   94.93%   -0.03%     
==========================================
  Files           3        3              
  Lines         218      217       -1     
==========================================
- Hits          207      206       -1     
  Misses          8        8              
  Partials        3        3              
Impacted Files Coverage Δ
dkim/dkim.go 87.50% <83.33%> (ø)
dkim/config.go 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@wneessen wneessen merged commit 4e48e85 into wneessen:main Oct 30, 2022
@wneessen
Copy link
Owner

All looks good. Merge completed!

@alexballas alexballas deleted the feature/improve_error_handling branch October 30, 2022 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants