Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/async/http/protocol/https.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def self.protocol_for(peer)
if protocol = HANDLERS[name]
return protocol
else
throw ArgumentError.new("Could not determine protocol for connection (#{name.inspect}).")
raise ArgumentError, "Could not determine protocol for connection (#{name.inspect})."
end
end

Expand Down