We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fda0c1b commit 9c83d4cCopy full SHA for 9c83d4c
1 file changed
ProjectTemplates/ReferenceProject/Program.cs
@@ -15,19 +15,19 @@ public class Program
15
public static int Main(string[] args)
16
{
17
try
18
- {
+ {
19
CreateHostBuilder(args).Build().Run();
20
21
return 0;
22
}
23
catch(Exception ex)
24
25
var msg = "An unhandled exception occurred. The application will be closed";
26
Log.Logger?.Fatal(ex, msg);
27
if( Log.Logger == null )
28
29
Console.WriteLine(msg + Environment.NewLine + ex);
30
- }
+ }
31
return 1;
32
33
0 commit comments