Skip to content

Commit 40145a7

Browse files
committed
feat: Add error output for documentation url
1 parent 6473e9b commit 40145a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ghastoolkit/octokit/octokit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ def get(
229229

230230
# Default error handling
231231
logger.error(response_json.get("message"))
232+
logger.error(f"Documentation Link :: {response_json.get('documentation_url', "")}")
232233
raise Exception("REST Request failed :: non-expected server error")
233234

234235
if isinstance(response_json, dict):

0 commit comments

Comments
 (0)