Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ class ArangoClient(options: ArangoDBConf) extends Logging {
val response = arangoDB.execute(request, classOf[RawBytes])

import scala.collection.JavaConverters.asScalaIteratorConverter
val errors = serde.parse(response.getBody.get).iterator().asScala
.zip(serde.parse(data.get).iterator().asScala)
val errors = serde.parse(response.getBody.get, "").iterator().asScala
.zip(serde.parse(data.get, "").iterator().asScala)
.filter(_._1.has("error"))
.filter(_._1.get("error").booleanValue())
.map(it => (
Expand Down
17 changes: 15 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
<dependency>
<groupId>com.arangodb</groupId>
<artifactId>arangodb-java-driver-shaded</artifactId>
<version>7.9.0</version>
<version>7.15.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand All @@ -192,7 +192,7 @@
<dependency>
<groupId>com.arangodb</groupId>
<artifactId>jackson-dataformat-velocypack</artifactId>
<version>4.3.0</version>
<version>4.5.0-SNAPSHOT</version>
<scope>compile</scope>
<exclusions>
<exclusion>
Expand Down Expand Up @@ -478,4 +478,17 @@
</plugins>
</build>

<repositories>
<repository>
<id>arangodb-snapshots</id>
<url>https://oss.sonatype.org/content/groups/staging</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>

</project>