Merge pull request #14844 from abpframework/issue-14601

CLI - Print a user friendly error when the license expires on new project creation
pull/14849/head
Alper Ebiçoğlu 3 years ago committed by GitHub
commit c1d01118ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -261,6 +261,12 @@ public class AbpIoSourceCodeStore : ISourceCodeStore, ITransientDependency
}
catch (Exception ex)
{
if(ex is UserFriendlyException)
{
Logger.LogWarning(ex.Message);
throw;
}
Console.WriteLine("Error occured while downloading source-code from {0} : {1}{2}{3}", url,
responseMessage?.ToString(), Environment.NewLine, ex.Message);
throw;

Loading…
Cancel
Save