Skip to content

Commit 7739dcb

Browse files
[Test] patch (Azure#18985)
1 parent c4cbcee commit 7739dcb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/azure-devtools/src/azure_devtools/scenario_tests/recording_processors.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,10 @@ def process_response(self, response):
238238
self.replace_header(response, "azure-asyncoperation", old, new)
239239
self.replace_header(response, "www-authenticate", old, new)
240240

241-
response["url"] = replace_subscription_id(response["url"])
241+
try:
242+
response["url"] = replace_subscription_id(response["url"])
243+
except KeyError:
244+
pass
242245

243246
try:
244247
for old, new in self.names_name:

0 commit comments

Comments
 (0)