You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ni...@apache.org on 2020/05/18 05:27:52 UTC
[atlas] branch branch-2.0 updated: ATLAS-3783 : DSL query search
should return results for both the relationship edge directions. #2
This is an automated email from the ASF dual-hosted git repository.
nixon pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 1e189ed ATLAS-3783 : DSL query search should return results for both the relationship edge directions. #2
1e189ed is described below
commit 1e189ed144515dca0ac643a09beb67972455f953
Author: chaitali borole <ch...@cloudera.com>
AuthorDate: Fri May 15 17:41:39 2020 +0530
ATLAS-3783 : DSL query search should return results for both the relationship edge directions. #2
Signed-off-by: nixonrodrigues <ni...@apache.org>
(cherry picked from commit 574e20a0cbc5a34c53e08fd43052ee539404af24)
---
repository/src/main/java/org/apache/atlas/query/IdentifierHelper.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/repository/src/main/java/org/apache/atlas/query/IdentifierHelper.java b/repository/src/main/java/org/apache/atlas/query/IdentifierHelper.java
index 9b5d304..0354fd3 100644
--- a/repository/src/main/java/org/apache/atlas/query/IdentifierHelper.java
+++ b/repository/src/main/java/org/apache/atlas/query/IdentifierHelper.java
@@ -156,7 +156,8 @@ public class IdentifierHelper {
updateSubTypes(lookup, context);
}
} catch (NullPointerException ex) {
- context.getErrorList().add("NullPointerException");
+ String exception = (StringUtils.isNotEmpty(ex.getMessage()) ? ex.getMessage() : "Exception");
+ context.getErrorList().add(exception);
}
}