embulk-output-bigquery icon indicating copy to clipboard operation
embulk-output-bigquery copied to clipboard

can not retry in Japanese error message of with_network_retry function.

Open sutoh opened this issue 8 years ago • 0 comments
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

sutoh avatar Apr 17 '17 09:04 sutoh