修改提示语

This commit is contained in:
xljiulang 2021-06-20 15:35:48 +08:00
parent 87deb0c5cb
commit 7617a397e6

View File

@ -83,7 +83,7 @@ namespace FastGithub.Scanner.LookupProviders
/// <param name="httpClient"></param> /// <param name="httpClient"></param>
/// <param name="metaUri"></param> /// <param name="metaUri"></param>
/// <returns></returns> /// <returns></returns>
private static async Task<Meta?> GetMetaAsync(HttpClient httpClient, Uri metaUri, CancellationToken cancellationToken) private async Task<Meta?> GetMetaAsync(HttpClient httpClient, Uri metaUri, CancellationToken cancellationToken)
{ {
try try
{ {
@ -92,6 +92,7 @@ namespace FastGithub.Scanner.LookupProviders
catch (Exception) catch (Exception)
{ {
cancellationToken.ThrowIfCancellationRequested(); cancellationToken.ThrowIfCancellationRequested();
this.logger.LogWarning($"当前网络无法从{META_URI}加载github维护的ip数据{Environment.NewLine}本轮扫描暂时使用{metaUri}的副本数据");
return await httpClient.GetFromJsonAsync<Meta>(metaUri, cancellationToken); return await httpClient.GetFromJsonAsync<Meta>(metaUri, cancellationToken);
} }
} }