fix(storage): only log warning if flushing merged servers to file fails

This commit is contained in:
Quentin McGaw
2025-11-17 19:04:13 +00:00
parent ad8b0657cb
commit b2859d5a06
6 changed files with 37 additions and 22 deletions

View File

@@ -52,7 +52,7 @@ func (s *Storage) syncServers() (err error) {
err = s.flushToFile(s.filepath)
if err != nil {
return fmt.Errorf("writing servers to file: %w", err)
s.logger.Warn("failed writing servers to file: " + err.Error())
}
return nil
}