Skip to content

Commit

Permalink
add more information for proto marshall error
Browse files Browse the repository at this point in the history
  • Loading branch information
tejal29 committed Apr 29, 2020
1 parent ace99c4 commit 6889a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/rpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func TestEventLogHTTP(t *testing.T) {
entryStr = strings.Replace(entryStr, "{\"result\":", "", 1)
entryStr = entryStr[:len(entryStr)-1]
if err := jsonpb.UnmarshalString(entryStr, &entry); err != nil {
t.Errorf("error converting http response to proto: %s", err.Error())
t.Errorf("error converting http response %s to proto: %s", entryStr, err.Error())
}
numEntries++
logEntries = append(logEntries, entry)
Expand Down

0 comments on commit 6889a05

Please sign in to comment.