You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ArangoCollection.java, getDocument(key, type) ignores all errors and returns null. getDocument(key, type, options) only returns null when the document does not exist and throws otherwise. That means, in the presence of connection issues, the first variant will return null, the second will throw (regardless of the actual options).
This seems to be an oversight from #133. getDocument(key, type) should be implemented by forwarding to getDocument(key, type, options) with default constructed options, just like documentExists does.