mirror of
https://github.com/eliasstepanik/IonosDDNSUpdater.git
synced 2026-01-11 11:38:27 +00:00
Fixed Program
This commit is contained in:
parent
bbd8676126
commit
81f5db36eb
@ -8,6 +8,6 @@ public sealed class SpecterConsoleLoggerConfiguration
|
||||
|
||||
public Dictionary<LogLevel, ConsoleColor> LogLevelToColorMap { get; set; } = new()
|
||||
{
|
||||
/*[LogLevel.Information] = ConsoleColor.Green*/
|
||||
[LogLevel.Information] = ConsoleColor.DarkGreen
|
||||
};
|
||||
}
|
||||
@ -45,8 +45,10 @@ public class DDNSService : IDDNSService
|
||||
public async void Start()
|
||||
{
|
||||
_logger.LogInformation("Fetching UpdateURLs");
|
||||
UpdateURLs = await GetUpdateURLs();
|
||||
while (UpdateURLs == null || UpdateURLs.Count == 0 )
|
||||
{
|
||||
_logger.LogInformation($"Fetching UpdateURLs again.");
|
||||
UpdateURLs = await GetUpdateURLs();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user