- fix class usage. InvalidArgument isn't valid, we want ArgumentError

This commit is contained in:
Jordan Sissel 2010-01-26 09:05:29 +00:00
parent 4b3460491a
commit f079e8e2be

View file

@ -55,7 +55,7 @@ module LogStash
# Require a logfile for daemonization
if @daemonize
$stderr.puts "Daemonizing requires you specify a logfile."
raise InvalidArgument("daemonize is true, but no logfile is specified")
raise ArgumentError.new("daemonize is true, but no logfile is specified")
end
end
end # def redirect_io