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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
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; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|