Skip to content

Commit 7508ffb

Browse files
authored
CDK: translate java EOF exception's message to a more customer-friendly message (#39417)
fixes airbytehq/oncall#4283
1 parent e093d62 commit 7508ffb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

airbyte-cdk/java/airbyte-cdk/core/src/main/kotlin/io/airbyte/cdk/integrations/util/ConnectorExceptionUtil.kt

+4-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,10 @@ object ConnectorExceptionUtil {
136136
"temporary file size exceeds temp_file_limit"
137137
)
138138
private val TRANSIENT_EOF_EXCEPTION_MESSAGE: Array<String> =
139-
arrayOf("connection was unexpectedly lost")
139+
arrayOf(
140+
"connection was unexpectedly lost",
141+
"can not read response from server. expected to read"
142+
)
140143
private val RECOVERY_CONNECTION_EXCEPTION_MESSAGE: Array<String> =
141144
arrayOf("due to conflict with recovery")
142145

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=0.37.2
1+
version=0.37.3

0 commit comments

Comments
 (0)