embulk / embulk/embulk-output-bigquery

can not retry in Japanese error message of with_network_retry function.

Open
#68 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
126
Forks
59
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.