Skip to content

Commit f90c534

Browse files
committed
C#: Change handled exception in TrapWriter.ArchiveContents
1 parent b8bd98e commit f90c534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/extractor/Semmle.Extraction/TrapWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ private void ArchiveContents(PathTransformer.ITransformedPath transformedPath, s
223223
{
224224
FileUtils.MoveOrReplace(tmpSrcFile, dest);
225225
}
226-
catch (IOException ex)
226+
catch (Exception ex)
227227
{
228228
// If this happened, it was probably because the same file was compiled multiple times.
229229
// In any case, this is not a fatal error.

0 commit comments

Comments
 (0)