fix(12-02): downgrade per-file save error to Debug, add warning count to scan summary
This commit is contained in:
@@ -690,6 +690,7 @@ func (l *Library) scanInternal(
|
||||
"updated", metrics.Updated,
|
||||
"removed", metrics.Removed,
|
||||
"skipped", metrics.Skipped,
|
||||
"warnings", len(metrics.Warnings),
|
||||
"cancelled", cancelled,
|
||||
"total", metrics.Total,
|
||||
)
|
||||
@@ -876,7 +877,7 @@ func (l *Library) commitBatch(
|
||||
}
|
||||
|
||||
if saveErr != nil {
|
||||
l.logger.Warn(
|
||||
l.logger.Debug(
|
||||
"failed to save audio file",
|
||||
"path", result.absolutePath,
|
||||
"err", saveErr,
|
||||
|
||||
Reference in New Issue
Block a user