Skip to content

Commit

Permalink
Merge pull request #76 from octo/network-errmsg
Browse files Browse the repository at this point in the history
Package network: Improve type checking error message.
  • Loading branch information
octo authored May 5, 2020
2 parents 6150eea + 2ea9fef commit a3b6e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func parse(b []byte, sl SecurityLevel, opts ParseOpts) ([]*api.ValueList, error)
// Returns an error if the number of values is incorrect.
v, err := ds.Values(ifValues...)
if err != nil {
log.Printf("unable to convert values according to TypesDB: %v", err)
log.Printf("unable to convert metric %q, values %v according to %v in TypesDB: %v", state, ifValues, ds, err)
continue
}
vl.Values = v
Expand Down

0 comments on commit a3b6e91

Please sign in to comment.