diff --git a/server/scan.go b/server/scan.go index 6b65947..8b58fc3 100644 --- a/server/scan.go +++ b/server/scan.go @@ -231,7 +231,7 @@ func scanLibrary(ctx context.Context, id int) { ffprobeData, err := ffprobe.ProbeURL(ctx, fullPath) if err != nil { - return fmt.Errorf("ffprobe New File: %w", err) + slog.ErrorContext(ctx, "ffprobe New File", "err", err) } slog.InfoContext(ctx, "ffprobe Done", "path", fullPath) @@ -259,7 +259,7 @@ func scanLibrary(ctx context.Context, id int) { ffprobeData, err := ffprobe.ProbeURL(ctx, fullPath) if err != nil { - return fmt.Errorf("ffprobe Changed File: %w", err) + slog.ErrorContext(ctx, "ffprobe Changed File", "err", err) } slog.InfoContext(ctx, "ffprobe Done", "path", fullPath)