Skip to content

Commit 973195f

Browse files
author
Davit Yeghshatyan
committed
Improve error msg on unmarshalling
Signed-off-by: Davit Yeghshatyan <davo@uber.com>
1 parent 3bc6607 commit 973195f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/ingester/app/processor/span_processor.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func NewSpanProcessor(writer spanstore.Writer, unmarshaller kafka.Unmarshaller)
5454
func (s spanProcessor) Process(message Message) error {
5555
mSpan, err := s.unmarshaller.Unmarshal(message.Value())
5656
if err != nil {
57-
return errors.Wrap(err, "cannot read message")
57+
return errors.Wrap(err, "cannot unmarshall byte array into span")
5858
}
5959
return s.writer.WriteSpan(mSpan)
6060
}

0 commit comments

Comments
 (0)