Skip to content

Commit

Permalink
Merge pull request #28 from yas-okadatech/24864-remove-rescue
Browse files Browse the repository at this point in the history
fix: remove rescue around bigquery.patch_table because it works correctly even if the original issue crops up
  • Loading branch information
NamedPython authored Jun 5, 2024
2 parents 52f758e + b86ab1a commit b05377d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/embulk/output/bigquery.rb
Original file line number Diff line number Diff line change
Expand Up @@ -407,12 +407,7 @@ def self.transaction(config, schema, task_count, &control)
end
end

begin
bigquery.patch_table
rescue => e
Embulk.logger.warn("patch_table is failed")
Embulk.logger.warn("#{e.class} : #{e.message}")
end
bigquery.patch_table

ensure
begin
Expand Down

0 comments on commit b05377d

Please sign in to comment.