Skip to content

Commit

Permalink
Merge d72fa29 into 817302a
Browse files Browse the repository at this point in the history
  • Loading branch information
BMorearty committed Dec 11, 2019
2 parents 817302a + d72fa29 commit 844336c
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 844336c

Please sign in to comment.