Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit e8432b2

Browse files
committed
debug entering 2
1 parent 2179a38 commit e8432b2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

codecov-api

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Users/jerryfeng/dev/codecov/codecov-api

graphql_api/views.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,16 @@ async def post(self, request, *args, **kwargs):
264264
)
265265

266266
with RequestFinalizer(request):
267+
print("About to make request")
267268
response = await super().post(request, *args, **kwargs)
269+
print("Finished request")
268270

269271
content = response.content.decode("utf-8")
270272
data = json.loads(content)
271273

274+
print("Are there errors?", data)
272275
if "errors" in data:
276+
print("Yes there is")
273277
inc_counter(
274278
GQL_ERROR_TYPE_COUNTER,
275279
labels=dict(error_type="all", path=req_path),

0 commit comments

Comments
 (0)