ignore error lastruntimesummary.json in use

This commit is contained in:
HojouFotytu 2019-11-16 10:19:02 +09:00
parent 16d9fe3b60
commit 952555495e
1 changed files with 4 additions and 1 deletions

View File

@ -19,7 +19,10 @@ namespace Monitor.Pages
RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier;
Logger.WriteException(exceptionFeature.Error, "An error occurred whilst requesting " + exceptionFeature.Path); string errorString = exceptionFeature.Error.ToString();
if (!errorString.Contains("is being used")) {
Logger.WriteException(exceptionFeature.Error, "An error occurred whilst requesting " + exceptionFeature.Path);
}
} }
} }
} }