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 1
1
using System ;
2
2
using System . IO ;
3
- using Microsoft . AspNetCore ;
4
3
using Microsoft . AspNetCore . Hosting ;
5
4
using Microsoft . Extensions . Configuration ;
6
5
using Serilog ;
6
+
7
7
namespace SimpleWebSample
8
8
{
9
9
public class Program
@@ -41,7 +41,7 @@ public static int Main(string[] args)
41
41
}
42
42
catch ( Exception ex )
43
43
{
44
- Log . Fatal ( ex , "Unhandled exception " ) ;
44
+ Log . Fatal ( ex , "Host terminated unexpectedly " ) ;
45
45
return 1 ;
46
46
}
47
47
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 ;
6
2
using Microsoft . AspNetCore . Hosting ;
7
3
using Microsoft . AspNetCore . Http ;
8
4
using Microsoft . Extensions . Configuration ;
You can’t perform that action at this time.
0 commit comments