Skip to content

Commit

Permalink
ingest WriteKeyStreamLocator: better error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
absorbb committed Nov 9, 2024
1 parent c7b5a7b commit 9e60be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jitsubase/jsonorder/reflect_slice.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (decoder *sliceDecoder) doDecode(ptr unsafe.Pointer, iter *Iterator) {
decoder.elemDecoder.Decode(elemPtr, iter)
}
if c != ']' {
iter.ReportError("decode slice", "expect ], but found "+string([]byte{c}))
iter.ReportError("decode slice", "expect ], but found "+fmt.Sprintf("%d", c))
return
}
}

0 comments on commit 9e60be8

Please sign in to comment.