-
-
Notifications
You must be signed in to change notification settings - Fork 697
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
Re-display user's query with an error message if an error occurs #1346
Conversation
The one test failure here actually illustrates a larger problem: if the user specifies Prior to this change we return the following JSON: {
"ok": false,
"error": "You did not supply a value for binding 1.",
"status": 500,
"title": null
} But this comes from the Lines 1251 to 1263 in eae3084
|
This is the current test failure, but it actually another problem that we don't have tests in place for errors with different formats and shapes:
The test fails because |
Bumps [black](https://github.com/psf/black) from 21.5b1 to 21.5b2. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/commits) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Codecov Report
@@ Coverage Diff @@
## main #1346 +/- ##
==========================================
+ Coverage 91.56% 91.71% +0.14%
==========================================
Files 34 34
Lines 4282 4332 +50
==========================================
+ Hits 3921 3973 +52
+ Misses 361 359 -2
Continue to review full report at Codecov.
|
Refs #619