Apply proper error handling for unsupported file types and errors dur…#37173
Apply proper error handling for unsupported file types and errors dur…#37173phil-davis merged 1 commit intomasterfrom
Conversation
d10e904 to
fb66bbb
Compare
Codecov Report
@@ Coverage Diff @@
## master #37173 +/- ##
=========================================
Coverage 64.87% 64.87%
- Complexity 19144 19146 +2
=========================================
Files 1268 1268
Lines 74940 74944 +4
Branches 1331 1331
=========================================
+ Hits 48619 48623 +4
Misses 25929 25929
Partials 392 392
Continue to review full report at Codecov.
|
|
@individual-it you have PR #37166 in progress that adds acceptance tests that demonstrate this. |
|
Before the change: With this fix: And similar for setting x or y to 0, -1, abc, false, true... LGTM |
phil-davis
left a comment
There was a problem hiding this comment.
Can we add some unit test cases that trigger the BadRequest exception>
That will also help codecov to be happy.
…ing preview generation
fb66bbb to
e92a218
Compare
|
@phil-davis unit test added |
|
As this PR is merged now, we will simply adjust the tests in #37166 |
…ing preview generation
Description
Returning now proper http status codes in error cases
Related Issue
How Has This Been Tested?
Types of changes
Checklist: