spring-projects / spring-boot

Spring Boot
https://spring.io/projects/spring-boot
Apache License 2.0
74.7k stars 40.58k forks source link

how to handle exception by client close connection with SseEmitter #13751

Closed huzhenquan closed 6 years ago

huzhenquan commented 6 years ago

Hello! how to handle exception by client close connection with SseEmitter(returnValue is SseEmitter for controller)?It's get an exception (Error:Could not find acceptable representation) when client close connection. Thanks!

wilkinsona commented 6 years ago

Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.