Worker: do not consider on-disk VMs syncing error as fatal (#230)

This commit is contained in:
Nikolay Edigaryev 2024-12-11 19:56:00 +04:00 committed by GitHub
parent d7b6f477e1
commit 08769e00b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -132,7 +132,9 @@ func (worker *Worker) runNewSession(ctx context.Context) error {
// Sync on-disk VMs
if err := worker.syncOnDiskVMs(ctx); err != nil {
return err
worker.logger.Errorf("failed to sync on-disk VMs: %v", err)
return nil
}
for {