Skip to content

Commit

Permalink
core: print EF message to stderr (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
luantranminh authored Aug 8, 2024
1 parent a8942e4 commit 96f75c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Atlas.Provider.Core/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ static int Main(string[] args)
var options = new Options(args);
// prevent any output from being written to the console, including warn, info, error etc messages from EF Core
var originalOut = Console.Out;
Console.SetOut(TextWriter.Null);
Console.SetOut(Console.Error);
using var executor = new EFDesign(
options.Assembly,
options.StartupAssembly,
Expand Down

0 comments on commit 96f75c4

Please sign in to comment.