Browse Source

Merge pull request #18519 from abpframework/7.4-bundle-exit-code

ABP CLI - Throw exceptions instead swallowing
pull/18525/head
Engincan VESKE 3 years ago
committed by GitHub
parent
commit
346772ca96
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/CliService.cs
  2. 1
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/BundleCommand.cs

1
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/CliService.cs

@ -84,6 +84,7 @@ public class CliService : ITransientDependency
catch (Exception ex)
{
Logger.LogException(ex);
throw;
}
}

1
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/BundleCommand.cs

@ -49,6 +49,7 @@ public class BundleCommand : IConsoleCommand, ITransientDependency
catch (BundlingException ex)
{
Logger.LogError(ex.Message);
throw;
}
}

Loading…
Cancel
Save