This is an automated email from the ASF dual-hosted git repository.
zhongjiajie pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new d23155e [Improve][Connector]Exceptions should be either logged or
rethrown but not both (#1587)
d23155e is described below
commit d23155ef20a4c77465e7287e565cd3549c6492b4
Author: Kirs <[email protected]>
AuthorDate: Sun Mar 27 20:41:30 2022 +0800
[Improve][Connector]Exceptions should be either logged or rethrown but not
both (#1587)
---
.../src/main/java/org/apache/seatunnel/flink/sink/DorisOutputFormat.java | 1 -
1 file changed, 1 deletion(-)
diff --git
a/seatunnel-connectors/seatunnel-connectors-flink/seatunnel-connector-flink-doris/src/main/java/org/apache/seatunnel/flink/sink/DorisOutputFormat.java
b/seatunnel-connectors/seatunnel-connectors-flink/seatunnel-connector-flink-doris/src/main/java/org/apache/seatunnel/flink/sink/DorisOutputFormat.java
index 494d3ec..efde5b3 100644
---
a/seatunnel-connectors/seatunnel-connectors-flink/seatunnel-connector-flink-doris/src/main/java/org/apache/seatunnel/flink/sink/DorisOutputFormat.java
+++
b/seatunnel-connectors/seatunnel-connectors-flink/seatunnel-connector-flink-doris/src/main/java/org/apache/seatunnel/flink/sink/DorisOutputFormat.java
@@ -188,7 +188,6 @@ public class DorisOutputFormat<T> extends
RichOutputFormat<T> {
try {
flush();
} catch (Exception e) {
- LOGGER.warn("Writing records to doris failed.", e);
throw new RuntimeException("Writing records to doris failed.",
e);
}
}