Skip to content
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

fix: Handle GQL error if no query provided #291

Merged
merged 2 commits into from
Dec 5, 2023
Merged

fix: Handle GQL error if no query provided #291

merged 2 commits into from
Dec 5, 2023

Conversation

JerrySentry
Copy link
Contributor

Purpose/Motivation

Don't clean up graphql query to remove new lines and extra spaces if there is no string query to begin with.

Links to relevant tickets

https://github.com/codecov/internal-issues/issues/78

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@codecov-qa
Copy link

codecov-qa bot commented Dec 5, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (df44b4b) 95.64% compared to head (b3ad357) 95.64%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #291   +/-   ##
=======================================
  Coverage   95.64%   95.64%           
=======================================
  Files         608      608           
  Lines       15686    15687    +1     
=======================================
+ Hits        15003    15004    +1     
  Misses        683      683           
Flag Coverage Δ
unit 95.64% <100.00%> (+<0.01%) ⬆️
unit-latest-uploader 95.64% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JerrySentry JerrySentry merged commit fcab60a into main Dec 5, 2023
14 of 15 checks passed
@JerrySentry JerrySentry deleted the api_i78 branch December 5, 2023 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants