Skip to content

Commit 9286868

Browse files
committed
Fix incorrect log formatting in call_api method
1 parent e5866d5 commit 9286868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lemmylib/lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def call_api(self, method: LemmyApiMethod, endpoint: str, params: dict = None, h
105105
return response
106106
else:
107107
self._logger.error(f"LemmyLib call_api: "
108-
f"{method} {url}"
108+
f"{method} {url} failed with status code "
109109
f"{response.status_code}")
110110
return None
111111

0 commit comments

Comments
 (0)