Browse Source

Merge pull request #13958 from abpframework/liangshiwei/cli

CLI work when abp.io is offline
pull/13959/head
maliming 4 years ago
committed by GitHub
parent
commit
f32f9f1b91
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs

4
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs

@ -221,7 +221,9 @@ public class AbpIoSourceCodeStore : ISourceCodeStore, ITransientDependency
} }
catch (Exception ex) catch (Exception ex)
{ {
throw new Exception($"Error occured while getting the versions from {url} : {ex.Message}"); Logger.LogWarning($"Error occured while getting the versions from {url} : {ex.Message}");
// The remote service is currently unavailable, try to work offline.
return true;
} }
} }

Loading…
Cancel
Save