-
Notifications
You must be signed in to change notification settings - Fork 12
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
Feature/1247_-_Catch all database exceptions #1520
Feature/1247_-_Catch all database exceptions #1520
Conversation
Codecov ReportBase: 89.86% // Head: 89.95% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1520 +/- ##
==========================================
+ Coverage 89.86% 89.95% +0.08%
==========================================
Files 256 256
Lines 8102 7995 -107
==========================================
- Hits 7281 7192 -89
+ Misses 821 803 -18
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
9e4f9c6
to
56da2ac
Compare
014289f
to
a4dcfdf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you are also missing to configure the DbContext to use the ExceptionProcssor :
optionsBuilder.UseExceptionProcessor();
This should be added at https://github.com/CGI-FR/IoT-Hub-Portal/blob/d394e3165f4084a9f28e2f06e7e55e52f7bbc431/src/AzureIoTHub.Portal.Infrastructure/PortalDbContext.cs#LL24-L29C10
Description
What's new?
What kind of change does this PR introduce?