-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Exception strings #12975
base: main
Are you sure you want to change the base?
Exception strings #12975
Conversation
@@ -1389,7 +1408,8 @@ | |||
try: | |||
parse_query(query_string) | |||
except Exception as error: | |||
raise ValidationError(f"Could not parse query string: {error}") from error | |||
msg = f"Could not parse query string: {error}" | |||
raise ValidationError(msg) from error |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
@@ -1505,7 +1525,8 @@ | |||
try: | |||
parse_query(query_string) | |||
except Exception as error: | |||
raise ValidationError(f"Could not parse query string: {error}") from error | |||
msg = f"Could not parse query string: {error}" | |||
raise ValidationError(msg) from error |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #12975 +/- ##
==========================================
- Coverage 91.09% 90.87% -0.23%
==========================================
Files 598 598
Lines 61450 61684 +234
Branches 6373 6373
==========================================
+ Hits 55980 56054 +74
- Misses 3805 3965 +160
Partials 1665 1665
|
Proposed changes
Checklist
Other information