Merge pull request #12086 from tamasvajk/feature/fix-exception-handling-archive

C#: Change handled exception in `TrapWriter.ArchiveContents`
This commit is contained in:
Tamás Vajk
2023-02-06 08:53:56 +01:00
committed by GitHub

View File

@@ -223,7 +223,7 @@ namespace Semmle.Extraction
{
FileUtils.MoveOrReplace(tmpSrcFile, dest);
}
catch (IOException ex)
catch (Exception ex)
{
// If this happened, it was probably because the same file was compiled multiple times.
// In any case, this is not a fatal error.