summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap
diff options
context:
space:
mode:
authorDaniel Silverthorn <daniel.silverthorn@amdocs.com>2018-03-26 14:27:47 -0400
committerDaniel Silverthorn <daniel.silverthorn@amdocs.com>2018-03-27 13:24:57 -0400
commit0c19b1386259b7144bc6c95954f965c469835522 (patch)
tree328756840d468541f0a46c768128b529f9119f03 /src/main/java/org/onap
parentff29ea71d508a2a8b20bfe22aeeca5af6a6e94be (diff)
Pass error message through on vertex add
Change-Id: I55bc4aaa8fdb31900d8a62d846bdd9d70764610c Issue-ID: AAI-945 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
Diffstat (limited to 'src/main/java/org/onap')
-rw-r--r--src/main/java/org/onap/crud/dao/champ/ChampDao.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/crud/dao/champ/ChampDao.java b/src/main/java/org/onap/crud/dao/champ/ChampDao.java
index 18d4946..344d797 100644
--- a/src/main/java/org/onap/crud/dao/champ/ChampDao.java
+++ b/src/main/java/org/onap/crud/dao/champ/ChampDao.java
@@ -260,7 +260,7 @@ public class ChampDao implements GraphDao {
} else {
// We didn't create a vertex with the supplied type, so just throw an
// exception.
- throw new CrudException("Failed to create vertex", Response.Status.fromStatusCode(getResult.getResultCode()));
+ throw new CrudException("Failed to create vertex: " + getResult.getFailureCause(), Response.Status.fromStatusCode(getResult.getResultCode()));
}
}