Raise ArgumentError if listeners are empty
commit11172f9bdcc7c57c9ae857a8088e49527a953fa1
authorEric Wong <normalperson@yhbt.net>
Tue, 3 Mar 2009 19:35:05 +0000 (3 11:35 -0800)
committerEric Wong <normalperson@yhbt.net>
Tue, 3 Mar 2009 19:35:05 +0000 (3 11:35 -0800)
tree0e74d48cb43ab15add0ecb2342096c4cf089a524
parentd29c40e4be4ea7eb6dafa5a1538f44ba6279c0f3
Raise ArgumentError if listeners are empty

Instead of blindly trying to bind to the default listener
(which is already the default as specified by Configurator).
lib/unicorn.rb