embulk-output-bigquery
embulk-output-bigquery copied to clipboard
can not retry in Japanese error message of with_network_retry function.
trafficstars
SocketException occurred while inserting object into gcs. In this case, we will try again, but no retries will be made.
Although it seems to be judging a retry from an error message, retry will not be done with a Japanese error.
:message=>"パイプが切断されました (Write failed)"
2017-04-17 03:55:17.949 +0900 [ERROR] (0001:transaction): Exception: embulk-output-bigquery: response:{:message=>"パイプが切断されました (Write failed)", :error_class=>Java::JavaNet::SocketException}
https://github.com/embulk/embulk-output-bigquery/blob/master/lib/embulk/output/bigquery/google_client.rb#L83