Skip to content

Commit 7626bae

Browse files
committed
add debug log to see the result of API call
1 parent bf3bbd6 commit 7626bae

File tree

1 file changed

+1
-0
lines changed
  • tools/src/main/python/opengrok_tools/utils

1 file changed

+1
-0
lines changed

tools/src/main/python/opengrok_tools/utils/restful.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ def do_api_call(method, uri, params=None, headers=None, data=None, timeout=None,
122122
proxies=get_proxies(uri),
123123
timeout=timeout
124124
)
125+
logger.debug(f"API call result: {r}")
125126

126127
if r is None:
127128
raise Exception("API call failed")

0 commit comments

Comments
 (0)