Skip to content

Commit 3347b45

Browse files
committed
Provide more accurate error message
1 parent e6e12be commit 3347b45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-websocket/src/main/java/org/springframework/web/socket/messaging/StompSubProtocolHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ private void publishEvent(ApplicationEvent event) {
205205
this.eventPublisher.publishEvent(event);
206206
}
207207
catch (Throwable ex) {
208-
logger.error("Failed to publish event " + event, ex);
208+
logger.error("Error while publishing " + event, ex);
209209
}
210210
}
211211

0 commit comments

Comments
 (0)