We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6296ba commit 1ebc2b4Copy full SHA for 1ebc2b4
src/main/java/org/iris_events/router/model/WSResponseHandler.java
@@ -58,8 +58,10 @@ private void sendToSession(AmqpMessage message) {
58
}
59
UserSession session = websocketRegistry.getSession(sessionId);
60
// assert session != null;
61
- if (session == null && !nonRpcEvents.contains(message.eventType())) {
62
- LOGGER.warn("Could not find session on this router message: {}", BackendRequest.sanitizeBody(message.body()));
+ if (session == null) {
+ if (!nonRpcEvents.contains(message.eventType())) {
63
+ LOGGER.warn("Could not find session on this router message: {}", BackendRequest.sanitizeBody(message.body()));
64
+ }
65
return;
66
67
session.sendMessage(message);
0 commit comments