rqlite / rqlite-java

Java client for rqlite, the lightweight distributed relational database
MIT License
30 stars 10 forks source link

Handling case where rqlite node is not available #12

Closed hprovenza closed 4 years ago

hprovenza commented 4 years ago

In my previous PR, I preserved original behavior for when we can't connect to a node: rqlite-java prints a message that it couldn't connect to a node, then returns null. I'd like to change it to print nothing and throw an exception that the client code can handle. Is that okay?

otoolep commented 4 years ago

That is fine with me, it seems more in line with proper Java style.