diff --git a/src/shared/Core/Trace2FileWriter.cs b/src/shared/Core/Trace2FileWriter.cs index dbf1b5d6d..16781c005 100644 --- a/src/shared/Core/Trace2FileWriter.cs +++ b/src/shared/Core/Trace2FileWriter.cs @@ -31,5 +31,10 @@ public override void Write(Trace2Message message) // Windows and the file is currently open for writing // by another process (likely Git itself.) } + catch (IOException) + { + // Do nothing, as this likely means that the file is currently + // open by another process (on Windows). + } } }