Skip to content

Commit 1a80c5d

Browse files
fixing sequence typing (#9)
1 parent d3314b6 commit 1a80c5d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Program.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ public static void Main(string[] args) {
4040
await context.Response.WriteAsync("Communication with gRPC endpoints must be made through a gRPC client. To learn how to create a client, visit: https://go.microsoft.com/fwlink/?linkid=2086909");
4141
});
4242
});
43-
app.Run();
4443

4544
// Add a middleware to catch exceptions and stop the host gracefully
4645
app.Use(async (context, next) => {
@@ -54,5 +53,7 @@ public static void Main(string[] args) {
5453
lifetime?.StopApplication();
5554
}
5655
});
56+
57+
app.Run();
5758
}
5859
}

0 commit comments

Comments
 (0)