Skip to content

Commit 463fe45

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

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/ApolloSubscriptionConsumer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public void accept(String request) {
2323
SubscriptionCommand command = commandProvider.getByType(message.getType());
2424
command.apply(session, message);
2525
} catch (JsonProcessingException e) {
26-
log.error("Cannot read subscription command '{}': {}", request, e);
26+
log.error("Cannot read subscription command '{}'", request, e);
2727
session.sendMessage(new OperationMessage(Type.GQL_CONNECTION_ERROR, null, e.getMessage()));
2828
}
2929
}

0 commit comments

Comments
 (0)