Skip to content

Commit

Permalink
Fixed lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
warmans committed Oct 28, 2024
1 parent 6f3f7ee commit 8b4f9d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/importer/importer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8b4f9d1

Please sign in to comment.