From 8538c72abd75190d4f5d1f5f1ddcfe82e9ad272d Mon Sep 17 00:00:00 2001 From: MingboPeng Date: Fri, 27 Oct 2023 18:43:08 +0800 Subject: [PATCH] fix(Console): throw the original exception --- src/Ironbug.Console/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ironbug.Console/Program.cs b/src/Ironbug.Console/Program.cs index 21808ba8..9f00ab22 100644 --- a/src/Ironbug.Console/Program.cs +++ b/src/Ironbug.Console/Program.cs @@ -55,7 +55,7 @@ static void Main(string[] args) catch (Exception e) { Console.WriteLine(e); - throw e; + throw; //Console.ReadLine(); }