Closed krajj7 closed 1 year ago
Just a minor suggestion.
The example project does this: https://github.com/ptaoussanis/sente/blob/7f5adb25e3e3bec05102ef08034c50082cd29f13/example-project/src/example/server.clj#L329-L331
On my system with OpenJDK 17.0.8-ea+6-Debian-3 this causes the following exception:
UnsupportedOperationException The BROWSE action is not supported on the current platform!
This exception is not caught and it prevents part of the demo from starting (the broadcast loop).
So I suggest making it catch all Exceptions instead (it's no big deal if the browser doesn't autostart), or add UnsupportedOperationException.
UnsupportedOperationException
Thanks for pinging about this! Will include with the other example changes 👍
Just a minor suggestion.
The example project does this: https://github.com/ptaoussanis/sente/blob/7f5adb25e3e3bec05102ef08034c50082cd29f13/example-project/src/example/server.clj#L329-L331
On my system with OpenJDK 17.0.8-ea+6-Debian-3 this causes the following exception:
UnsupportedOperationException The BROWSE action is not supported on the current platform!
This exception is not caught and it prevents part of the demo from starting (the broadcast loop).
So I suggest making it catch all Exceptions instead (it's no big deal if the browser doesn't autostart), or add
UnsupportedOperationException
.