Merge pull request #14683 from abpframework/HostAbortedException

Rename `StopTheHostException` to `HostAbortedException`.
pull/14684/head
liangshiwei 3 years ago committed by GitHub
commit 43ca6d0fce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -55,7 +55,7 @@ public class Program
}
catch (Exception ex)
{
if (ex.GetType().Name.Equals("StopTheHostException", StringComparison.Ordinal))
if (ex is HostAbortedException)
{
throw;
}

@ -60,7 +60,7 @@ public class Program
}
catch (Exception ex)
{
if (ex.GetType().Name.Equals("StopTheHostException", StringComparison.Ordinal))
if (ex is HostAbortedException)
{
throw;
}

@ -55,7 +55,7 @@ public class Program
}
catch (Exception ex)
{
if (ex.GetType().Name.Equals("StopTheHostException", StringComparison.Ordinal))
if (ex is HostAbortedException)
{
throw;
}

@ -60,7 +60,7 @@ public class Program
}
catch (Exception ex)
{
if (ex.GetType().Name.Equals("StopTheHostException", StringComparison.Ordinal))
if (ex is HostAbortedException)
{
throw;
}

@ -55,7 +55,7 @@ public class Program
}
catch (Exception ex)
{
if (ex.GetType().Name.Equals("StopTheHostException", StringComparison.Ordinal))
if (ex is HostAbortedException)
{
throw;
}

@ -60,7 +60,7 @@ public class Program
}
catch (Exception ex)
{
if (ex.GetType().Name.Equals("StopTheHostException", StringComparison.Ordinal))
if (ex is HostAbortedException)
{
throw;
}

Loading…
Cancel
Save