These should be LogStash::ConfigurationError exceptions, not RuntimeError (but I can fix them after merging)