Closed electrum closed 11 years ago
There is a bug here:
https://github.com/facebook/swift/blob/master/swift-service/src/main/java/com/facebook/swift/service/ThriftClientManager.java#L138
The future needs to be set with any exception thrown by createClient(). Currently, an exception there causes the future to never be set.
createClient()
I ran into this by having a @ThriftService method that threw multiple exceptions but didn't declare them in the @ThriftMethod annotation.
@ThriftService
@ThriftMethod
This has been fixed in the above-referenced commit
There is a bug here:
https://github.com/facebook/swift/blob/master/swift-service/src/main/java/com/facebook/swift/service/ThriftClientManager.java#L138
The future needs to be set with any exception thrown by
createClient()
. Currently, an exception there causes the future to never be set.I ran into this by having a
@ThriftService
method that threw multiple exceptions but didn't declare them in the@ThriftMethod
annotation.