You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by am...@apache.org on 2019/05/20 18:42:27 UTC
[atlas] 02/02: ATLAS-3215: Delete handler exception logged instead
of throwing.
This is an automated email from the ASF dual-hosted git repository.
amestry pushed a commit to branch branch-0.8
in repository https://gitbox.apache.org/repos/asf/atlas.git
commit df25b8130c4f3f37e075703c8d85cf3a0f6ea1df
Author: Ashutosh Mestry <am...@hortonworks.com>
AuthorDate: Mon May 20 11:42:03 2019 -0700
ATLAS-3215: Delete handler exception logged instead of throwing.
---
.../org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java
index f70e845..2f1d1f9 100644
--- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java
+++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java
@@ -516,8 +516,7 @@ public abstract class DeleteHandlerV1 {
}
} else {
// Cannot unset a required attribute.
- throw new AtlasBaseException("Cannot unset required attribute " + propertyName +
- " on " + GraphHelper.vertexString(outVertex) + " edge = " + edgeLabel);
+ LOG.error("Cannot unset required attribute " + propertyName + " on vertex id:" + outId + " edge = " + edgeLabel);
}
break;