From 796d072d37aed77f730aa81a9b27561c346157ea Mon Sep 17 00:00:00 2001 From: HojouFotytu <36724681+HojouFotytu@users.noreply.github.com> Date: Sat, 16 Nov 2019 11:31:22 +0900 Subject: [PATCH] ignore error analyzer parsing --- Monitor/Pages/Error.cshtml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Monitor/Pages/Error.cshtml.cs b/Monitor/Pages/Error.cshtml.cs index e692535..6f18d5e 100644 --- a/Monitor/Pages/Error.cshtml.cs +++ b/Monitor/Pages/Error.cshtml.cs @@ -20,7 +20,7 @@ namespace Monitor.Pages RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; string errorString = exceptionFeature.Error.ToString(); - if (!errorString.Contains("is being used")) { + if (!(errorString.Contains("is being used") || errorString.Contains("an unexpected character was encountered"))) { Logger.WriteException(exceptionFeature.Error, "An error occurred whilst requesting " + exceptionFeature.Path); } }