This is an automated email from the ASF dual-hosted git repository.
nixon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push:
new 574e20a ATLAS-3783 : DSL query search should return results for both
the relationship edge directions. #2
574e20a is described below
commit 574e20a0cbc5a34c53e08fd43052ee539404af24
Author: chaitali borole <[email protected]>
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 <[email protected]>
---
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 129c203..7b03d11 100644
--- a/repository/src/main/java/org/apache/atlas/query/IdentifierHelper.java
+++ b/repository/src/main/java/org/apache/atlas/query/IdentifierHelper.java
@@ -159,7 +159,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);
}
}