Skip to content

Commit 752502b

Browse files
authored
Merge pull request github#17619 from tamasvajk/text-file-archiving-warning
C#: reduce extraction message severity for missing text files
2 parents 6f74387 + 29948e4 commit 752502b

File tree

1 file changed

+1
-1
lines changed
  • csharp/extractor/Semmle.Extraction.CSharp/Entities

1 file changed

+1
-1
lines changed

csharp/extractor/Semmle.Extraction.CSharp/Entities/File.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public override void Populate(TextWriter trapFile)
6464
}
6565
catch (Exception exc)
6666
{
67-
Context.ExtractionError($"Couldn't read file: {originalPath}. {exc.Message}", null, null, exc.StackTrace);
67+
Context.ExtractionError($"Couldn't read file: {originalPath}. {exc.Message}", null, null, exc.StackTrace, Semmle.Util.Logging.Severity.Warning);
6868
}
6969
}
7070

0 commit comments

Comments
 (0)