falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajayyad...@apache.org
Subject [2/3] falcon git commit: FALCON-1680 Error message is not intuitive when entity schedule fails. Contributed by Pallavi Rao.
Date Wed, 23 Dec 2015 04:43:09 GMT
FALCON-1680 Error message is not intuitive when entity schedule fails. Contributed by Pallavi
Rao.


Project: http://git-wip-us.apache.org/repos/asf/falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/e64d6370
Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/e64d6370
Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/e64d6370

Branch: refs/heads/master
Commit: e64d63700794da2223351c8bd9e2a8a1ed296d81
Parents: 24fd717
Author: Ajay Yadava <ajaynsit@gmail.com>
Authored: Wed Dec 23 09:33:01 2015 +0530
Committer: Ajay Yadava <ajaynsit@gmail.com>
Committed: Wed Dec 23 09:33:01 2015 +0530

----------------------------------------------------------------------
 CHANGES.txt                                                   | 2 ++
 prism/src/main/java/org/apache/falcon/FalconWebException.java | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/e64d6370/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 4fc8d59..27e2742 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -86,6 +86,8 @@ Trunk (Unreleased)
   OPTIMIZATIONS
 
   BUG FIXES
+    FALCON-1680 Error message is not intuitive when entity schedule fails(Pallavi Rao via
Ajay Yadava)
+
     FALCON-1644 Retention : Some feed instances are never deleted by retention jobs(Balu
Vellanki via Ajay Yadava)
 
     FALCON-1641 Triage on an invalid feed instance throws IndexOutOfBoundException(Karishma
Gulati via Ajay Yadava)

http://git-wip-us.apache.org/repos/asf/falcon/blob/e64d6370/prism/src/main/java/org/apache/falcon/FalconWebException.java
----------------------------------------------------------------------
diff --git a/prism/src/main/java/org/apache/falcon/FalconWebException.java b/prism/src/main/java/org/apache/falcon/FalconWebException.java
index 7324997..666e3d7 100644
--- a/prism/src/main/java/org/apache/falcon/FalconWebException.java
+++ b/prism/src/main/java/org/apache/falcon/FalconWebException.java
@@ -44,7 +44,7 @@ public class FalconWebException extends WebApplicationException {
             status = Response.Status.FORBIDDEN;
         }
 
-        return newException(e.getMessage(), status);
+        return newException(getMessage(e), status);
     }
 
     public static FalconWebException newTriageResultException(Throwable e, Response.Status
status) {


Mime
View raw message