Skip to content

Commit

Permalink
improve wording on sincedb_path ArgumentError
Browse files Browse the repository at this point in the history
  • Loading branch information
jsvd authored and jordansissel committed Jul 8, 2015
1 parent af1dbe7 commit c67d8de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logstash/inputs/file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def register
end

if File.directory?(@sincedb_path)
raise ArgumentError.new("sincedb_path must be a file path, not a directory. Received: \"#{@sincedb_path}\"")
raise ArgumentError.new("The \"sincedb_path\" argument must point to a file, received a directory: \"#{@sincedb_path}\"")
end

@tail_config[:sincedb_path] = @sincedb_path
Expand Down

0 comments on commit c67d8de

Please sign in to comment.