openhab-core/bundles/org.openhab.core.io.rest/src
Wouter Born 1edf25b4f9
Prevent IllegalStateException when closing SSE sink (#1698)
* Prevent IllegalStateException when closing SSE sink
* Simplify code and log exceptions on debug

There seem to be no issues anymore with the exception handling when SSE clients disconnect so simplify the exception handling.
Suppressing exceptions based on error message is also likely to break when new exceptions are added or messages change.
There are also still exceptions that get logged with "failure" but from which the code seems to recover without any issues.

Fixes #1499

Signed-off-by: Wouter Born <github@maindrain.net>
2020-10-07 20:20:52 +02:00
..
main/java/org/openhab/core/io/rest Prevent IllegalStateException when closing SSE sink (#1698) 2020-10-07 20:20:52 +02:00
test/java/org/openhab/core/io/rest Use new Collection API methods (#1598) 2020-08-22 23:04:11 +02:00