Skip to content

Commit

Permalink
Temp debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
aturret committed Nov 17, 2024
1 parent e904210 commit 9575d44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/services/zhihu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,9 @@ async def _get_zhihu_answer(self) -> None:
try:
json_data = await get_response_json(self.request_url, headers=self.headers,
client=self.httpx_client)
logger.debug(f"json data: {json_data}")
answer_data = _parse_answer_api_json_data(json_data)
logger.debug(f"answer data: {answer_data}")
except Exception as e:
raise Exception("Cannot get the answer by API")
elif self.method == "json":
Expand Down

0 comments on commit 9575d44

Please sign in to comment.