Small clean up to error handling code
This commit is contained in:
parent
a381a6923c
commit
34fc9496fd
@ -18,7 +18,10 @@ var app = builder.Build();
|
||||
|
||||
try
|
||||
{
|
||||
await app.CheckHealthAsync();
|
||||
if (!await app.CheckHealthAsync())
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
app.UseServiceDefaults();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user