Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
change: loader error log
Browse files Browse the repository at this point in the history
  • Loading branch information
iwilltry42 committed Oct 23, 2024
1 parent 669efad commit 95e0ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (s *ClientLoad) Run(cmd *cobra.Command, args []string) error {

docs, err := loader(cmd.Context(), bytes.NewReader(inputBytes))
if err != nil {
return fmt.Errorf("failed to load documents: %w", err)
return fmt.Errorf("failed to load documents from file %q using loader %q: %w", input, s.Loader, err)
}

var text string
Expand Down

0 comments on commit 95e0ca6

Please sign in to comment.