Skip to content

Conversation

@shellmayr
Copy link
Member

No description provided.

@shellmayr shellmayr requested a review from a team as a code owner June 6, 2024 11:12
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 6, 2024
@shellmayr shellmayr requested a review from obostjancic June 6, 2024 11:12
).apply_transformer(MetricsAPIQueryResultsTransformer())
except InvalidMetricsQueryError as e:
return Response(status=400, data={"detail": str(e)})
except InvalidParams as e:

Check warning

Code scanning / CodeQL

Information exposure through an exception

[Stack trace information](1) flows to this location and may be exposed to an external user.
@shellmayr
Copy link
Member Author

Fixes #71972
Contributes to #71973

@codecov
Copy link

codecov bot commented Jun 6, 2024

Codecov Report

Attention: Patch coverage is 60.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 77.98%. Comparing base (c518673) to head (6e0994f).
Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #72204   +/-   ##
=======================================
  Coverage   77.98%   77.98%           
=======================================
  Files        6576     6576           
  Lines      293026   293031    +5     
  Branches    50578    50580    +2     
=======================================
+ Hits       228514   228521    +7     
+ Misses      58274    58270    -4     
- Partials     6238     6240    +2     
Files Coverage Δ
...sentry/api/endpoints/organization_metrics_query.py 78.26% <60.00%> (+0.09%) ⬆️

... and 4 files with indirect coverage changes

@shellmayr shellmayr merged commit 557fa29 into master Jun 6, 2024
@shellmayr shellmayr deleted the shellmayr/fix/return-400-instead-of-invalidparams-in-metrics-query-without-use-case branch June 6, 2024 11:48
@github-actions github-actions bot locked and limited conversation to collaborators Jun 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants