Skip to content

Commit 4b45a15

Browse files
committed
Use Logger.WriteError() instead of Console.WriteLine().
1 parent 7c07ea2 commit 4b45a15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitVersionExe/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ static void ConfigureLogging(Arguments arguments)
149149
}
150150
catch (Exception ex)
151151
{
152-
Console.WriteLine("Failed to configure logging for '{0}': {1}", arguments.LogFilePath, ex.Message);
152+
Logger.WriteError(String.Format("Failed to configure logging for '{0}': {1}", arguments.LogFilePath, ex.Message));
153153
}
154154
}
155155

0 commit comments

Comments
 (0)