Skip to content

Commit

Permalink
Fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Pdzly committed Mar 3, 2024
1 parent 08cab71 commit aedc89a
Show file tree
Hide file tree
Showing 3 changed files with 339 additions and 360 deletions.
2 changes: 1 addition & 1 deletion lemmylib/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def call_api(self, method: LemmyApiMethod, endpoint: str, params: dict = None, h
else:
self._logger.error(f"LemmyLib call_api: "
f"{method} {url}"
f"{response.status_code} {response.text}")
f"{response.status_code}")
return None

def get_base_path(self):
Expand Down
Loading

0 comments on commit aedc89a

Please sign in to comment.