Skip to content

Commit da0010d

Browse files
committed
Debug logging for ades request
1 parent a638125 commit da0010d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

resource_catalogue_fastapi/utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ def execute_order_workflow(
221221
}
222222
}
223223

224+
logger.info(f"Sending request to {url} with payload: {payload}")
225+
logger.info(f"Headers: {headers}")
226+
224227
response = requests.post(url, headers=headers, json=payload)
225228
response.raise_for_status()
226229
return response.json()

0 commit comments

Comments
 (0)