Merge pull request #525 from sirosen/warn-if-validation-error-noerr
Add a warning if validation errors are suppressed
Stephen Rosen authored 3 years ago
GitHub committed 3 years ago
268 | 268 | error_status_code=error_status_code, |
269 | 269 | error_headers=error_headers, |
270 | 270 | ) |
271 | warnings.warn( | |
272 | "_on_validation_error hook did not raise an exception and flow " | |
273 | "of control returned to parse(). You may get unexpected results" | |
274 | ) | |
271 | 275 | return data |
272 | 276 | |
273 | 277 | def get_default_request(self): |