From 29948e4c0b992cfd707a7836f42e579481b054bb Mon Sep 17 00:00:00 2001 From: Tamas Vajk Date: Mon, 30 Sep 2024 12:31:07 +0200 Subject: [PATCH] C#: reduce extraction message severity for missing text files --- csharp/extractor/Semmle.Extraction.CSharp/Entities/File.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp/extractor/Semmle.Extraction.CSharp/Entities/File.cs b/csharp/extractor/Semmle.Extraction.CSharp/Entities/File.cs index 9a2d0475c585..bd2a7fbd181f 100644 --- a/csharp/extractor/Semmle.Extraction.CSharp/Entities/File.cs +++ b/csharp/extractor/Semmle.Extraction.CSharp/Entities/File.cs @@ -64,7 +64,7 @@ public override void Populate(TextWriter trapFile) } catch (Exception exc) { - Context.ExtractionError($"Couldn't read file: {originalPath}. {exc.Message}", null, null, exc.StackTrace); + Context.ExtractionError($"Couldn't read file: {originalPath}. {exc.Message}", null, null, exc.StackTrace, Semmle.Util.Logging.Severity.Warning); } }