mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 20:34:02 +03:00
Do not panic if no addresses were found
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user