dybyte commented on code in PR #10176:
URL: https://github.com/apache/seatunnel/pull/10176#discussion_r2605934040
##########
seatunnel-connectors-v2/connector-graphql/src/main/java/org/apache/seatunnel/connectors/seatunnel/graphql/source/reader/GraphQLWebSocket.java:
##########
@@ -98,8 +98,7 @@ public void onClosing(@NotNull WebSocket webSocket, int code,
@NotNull String re
@Override
public void onFailure(
@NotNull WebSocket webSocket, @NotNull Throwable t, @Nullable
Response response) {
- log.error("WebSocket connection failed: " + t.getMessage());
- t.printStackTrace();
+ log.error("WebSocket connection failed: " + t.getMessage(), t);
Review Comment:
```suggestion
log.error("WebSocket connection failed", t);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]