Skip to content

Commit

Permalink
Use Fluent::UnrecoverableError instead of RuntimeError
Browse files Browse the repository at this point in the history
  • Loading branch information
okkez committed Mar 31, 2021
1 parent 16d2ba1 commit 3f8aefe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fluent/plugin/s3_compressor_parquet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def compress(chunk, tmp)
end
stdout, stderr, status = columnify(path, tmp.path)
unless status.success?
raise "failed to execute columnify command. stdout=#{stdout} stderr=#{stderr} status=#{status.inspect}"
raise Fluent::UnrecoverableError, "failed to execute columnify command. stdout=#{stdout} stderr=#{stderr} status=#{status.inspect}"
end
ensure
unless chunk_is_file
Expand Down

0 comments on commit 3f8aefe

Please sign in to comment.