Skip to content

Commit

Permalink
fix: better error message for missing flux data (#2647)
Browse files Browse the repository at this point in the history
  • Loading branch information
docmerlin authored Nov 2, 2021
1 parent db20a6a commit 2526656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion influxdb/event_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ readRow:
switch q.row[0] {
case "":
if len(q.row) <= 5 {
return errors.New("Unexpectedly few columns")
return errors.New("Unexpectedly few columns -- Kapacitor cannot understand this data. We need at minimum a _time column, table number, and at least one column with data in")
}
if state == stateNameRow {
newNames := q.row[skipNonDataFluxCols:]
Expand Down

0 comments on commit 2526656

Please sign in to comment.