Chromium Code Reviews| Index: grpc/prpc/encoding.go |
| diff --git a/grpc/prpc/encoding.go b/grpc/prpc/encoding.go |
| index 0d99b819b701585640a96c191b1d6c18fde34d6a..4395e4ef7da997e3105a16a52d7125a532f0c1b6 100644 |
| --- a/grpc/prpc/encoding.go |
| +++ b/grpc/prpc/encoding.go |
| @@ -88,7 +88,7 @@ func respondMessage(msg proto.Message, format Format) *response { |
| res.body = buf.Bytes() |
| default: |
| - panic(fmt.Errorf("impossible: invalid format %s", format)) |
| + panic(fmt.Errorf("impossible: invalid format %d", format)) |
| } |
| if err != nil { |