diff --git a/pkg/importer/importer.go b/pkg/importer/importer.go index 65c3e1d..6d0dcf3 100644 --- a/pkg/importer/importer.go +++ b/pkg/importer/importer.go @@ -107,7 +107,7 @@ func (i *Incremental) startFileWatch(ctx context.Context) error { if !ok { return } - i.logger.Info("error:", err) + i.logger.Info("error", slog.String("err", err.Error())) case <-ticker.C: if len(pendingFiles) > 0 { if err := i.importNewSRT(ctx, pendingFiles); err != nil {