Skip to content

Commit

Permalink
Add Metric name to unrecognized type code error
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Moy committed Nov 1, 2016
1 parent 481ea9d commit 901a372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statsdaemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ func parseLine(line []byte) *Packet {
return nil
}
default:
log.Printf("ERROR: unrecognized type code %q", typeCode)
log.Printf("ERROR: unrecognized type code %q for metric %s", typeCode, string(name))
return nil
}

Expand Down

0 comments on commit 901a372

Please sign in to comment.