Open hupfdule opened 4 years ago
Sorry, I was sure that I had responded here yesterday.
Thanks for reporting. I agree that this is unfortunate, but I'm not sure we can do better: In cases in which we do log (like Futures.allAsList
), this also causes problems for users.
We can document this better, perhaps at the same time as we recommend that users use ServiceManager
.
No problem. One day later is still a fast response. :-)
I agree. If this behaviour is not going to be changed, it should be clearly documented so that users are really aware of it.
Consider this code nippet:
Unless I activate the
serviceA.awaitRunning()
(or implement an explicit Listener) the exception thrown when starting up just vanishes. It doesn't even get logged or printed to stdout.I don't consider that a sane default behaviour as it makes it harder to spot actual problems in the codebase.