lib/protocol/http2/client.rb in protocol-http2-0.6.0 vs lib/protocol/http2/client.rb in protocol-http2-0.7.0
- old
+ new
@@ -38,10 +38,10 @@
send_settings(settings)
yield if block_given?
read_frame do |frame|
- raise ProtocolError, "First frame must be SettingsFrame, but got #{frame.class}" unless frame.is_a? SettingsFrame
+ raise ProtocolError, "First frame must be #{SettingsFrame}, but got #{frame.class}" unless frame.is_a? SettingsFrame
end
else
raise ProtocolError, "Cannot send connection preface in state #{@state}"
end
end