Skip to content

Commit

Permalink
Wrap error message
Browse files Browse the repository at this point in the history
  • Loading branch information
neilotoole committed Jan 20, 2025
1 parent 01abfb6 commit ec28632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/json/ingest_jsona.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func DetectJSONA(sampleSize int) files.TypeDetectFunc {
}

if err = sc.Err(); err != nil {
return drivertype.None, 0, errz.Err(err)
return drivertype.None, 0, errz.Wrap(err, "jsona")
}

line = sc.Bytes()
Expand Down

0 comments on commit ec28632

Please sign in to comment.