From f8c467f486fa7ac537f11bd579d254fa5e731748 Mon Sep 17 00:00:00 2001 From: "Scott Beddall (from Dev Box)" Date: Wed, 25 Oct 2023 13:10:59 -0700 Subject: [PATCH] somehow we're not getting the exception logs when proxy is 404ing. something else is going on, but i can't tell what it is. adding a log right as the exception is generated --- .../Azure.Sdk.Tools.TestProxy/Common/RecordMatcher.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common/RecordMatcher.cs b/tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common/RecordMatcher.cs index b320e79bf73..9cc5be3c8d5 100644 --- a/tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common/RecordMatcher.cs +++ b/tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common/RecordMatcher.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core; @@ -244,6 +244,8 @@ private string GenerateException(RecordEntry request, RecordEntry bestScoreEntry CompareBodies(request.Request.Body, bestScoreEntry.Request.Body, builder); + System.Console.WriteLine(builder.ToString()); + return builder.ToString(); }