Commit 71ac3e5c authored by Sydney Acksman's avatar Sydney Acksman

Fix exception message on unsupported request output format

parent e2e70a8a
......@@ -143,7 +143,7 @@ namespace Google.Protobuf.Conformance
case global::Conformance.WireFormat.Protobuf:
return new ConformanceResponse { ProtobufPayload = message.ToByteString() };
default:
throw new Exception("Unsupported request output format: " + request.PayloadCase);
throw new Exception("Unsupported request output format: " + request.RequestedOutputFormat);
}
}
catch (InvalidOperationException e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment