Skip to content

Commit 29fc998

Browse files
authored
Print stack trace instead of adding to log message
1 parent 463fe45 commit 29fc998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql-java-kickstart/src/main/java/graphql/kickstart/execution/subscriptions/apollo/SubscriptionConnectionInitCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public void apply(SubscriptionSession session, OperationMessage message) {
1919
connectionListeners.forEach(it -> it.onConnect(session, message));
2020
session.sendMessage(new OperationMessage(Type.GQL_CONNECTION_ACK, message.getId(), null));
2121
} catch (Throwable t) {
22-
log.error("Cannot initialize subscription command '{}': {}", message, t);
22+
log.error("Cannot initialize subscription command '{}'", message, t);
2323
session.sendMessage(new OperationMessage(Type.GQL_CONNECTION_ERROR, message.getId(), t.getMessage()));
2424
}
2525
}

0 commit comments

Comments
 (0)