Skip to content

Commit ecf109f

Browse files
authored
Merge pull request #149 from mzumi/add-sslexception
Add SSLException to retry job
2 parents 8f2e5b5 + 3d8418c commit ecf109f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/embulk/output/bigquery/google_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def with_network_retry(&block)
4949
retries = 0
5050
begin
5151
yield
52-
rescue ::Java::Java.net.SocketException, ::Java::Java.net.ConnectException => e
52+
rescue ::Java::Java.net.SocketException, ::Java::Java.net.ConnectException, ::Java::JavaxNetSsl::SSLException => e
5353
retry_messages = [
5454
'Broken pipe',
5555
'Connection reset',

0 commit comments

Comments
 (0)