mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- fix class usage. InvalidArgument isn't valid, we want ArgumentError
This commit is contained in:
parent
4b3460491a
commit
f079e8e2be
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue