lib/fluent/plugin/parser_protobuf.rb in fluent-plugin-parser-protobuf-0.1.0 vs lib/fluent/plugin/parser_protobuf.rb in fluent-plugin-parser-protobuf-0.1.1

- old
+ new

@@ -56,16 +56,16 @@ def load_protobuf_class(filename) if Pathname.new(filename).absolute? begin require filename rescue LoadError => e - Fluent::ConfigError "Unable to load protobuf definition class file: #{filename}. error: #{e.backtrace}" + raise Fluent::ConfigError, "Unable to load protobuf definition class file: #{filename}. error: #{e.backtrace}" end else begin require_relative filename rescue LoadError => e - Fluent::ConfigError "Unable to load protobuf definition class file: #{filename}. error: #{e.backtrace}" + raise Fluent::ConfigError, "Unable to load protobuf definition class file: #{filename}. error: #{e.backtrace}" end end end end end