We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f230d40 commit c068323Copy full SHA for c068323
tools/azure-sdk-tools/devtools_testutils/proxy_testcase.py
@@ -90,7 +90,10 @@ def start_record_or_playback(test_id):
90
PLAYBACK_START_URL,
91
headers={"x-recording-file": test_id, "x-recording-sha": current_sha},
92
)
93
- recording_id = result.headers["x-recording-id"]
+ try:
94
+ recording_id = result.headers["x-recording-id"]
95
+ except KeyError:
96
+ raise ValueError("No recording file found for {}".format(test_id))
97
if result.text:
98
try:
99
variables = result.json()
0 commit comments