File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 11using System ;
22using System . IO ;
3- using Microsoft . AspNetCore ;
43using Microsoft . AspNetCore . Hosting ;
54using Microsoft . Extensions . Configuration ;
65using Serilog ;
6+
77namespace SimpleWebSample
88{
99 public class Program
@@ -41,7 +41,7 @@ public static int Main(string[] args)
4141 }
4242 catch ( Exception ex )
4343 {
44- Log . Fatal ( ex , "Unhandled exception " ) ;
44+ Log . Fatal ( ex , "Host terminated unexpectedly " ) ;
4545 return 1 ;
4646 }
4747 finally
Original file line number Diff line number Diff line change 1- using System ;
2- using System . Collections . Generic ;
3- using System . Linq ;
4- using System . Threading . Tasks ;
5- using Microsoft . AspNetCore . Builder ;
1+ using Microsoft . AspNetCore . Builder ;
62using Microsoft . AspNetCore . Hosting ;
73using Microsoft . AspNetCore . Http ;
84using Microsoft . Extensions . Configuration ;
You can’t perform that action at this time.
0 commit comments