Do not panic if no addresses were found

This commit is contained in:
9seconds
2026-02-26 12:31:30 +01:00
parent 9c122f942f
commit 449f84133a
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ func (u *updater) run(ctx context.Context, callback func() error) {
for {
u.logger.Info("start update")
if err := callback(); err != nil {
u.logger.WarningError("cannot update: %w", err)
u.logger.WarningError("cannot update", err)
}
u.logger.Info("updated")