You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@predictionio.apache.org by do...@apache.org on 2017/03/20 18:01:29 UTC

incubator-predictionio git commit: Print stack trace to pio.log

Repository: incubator-predictionio
Updated Branches:
  refs/heads/develop 00779c3d8 -> a4edda1fa


Print stack trace to pio.log

Closes #360


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

Branch: refs/heads/develop
Commit: a4edda1fa04c1a81fc57e20cfd312c0314626eea
Parents: 00779c3
Author: Shinsuke Sugaya <sh...@yahoo.co.jp>
Authored: Mon Mar 20 11:01:09 2017 -0700
Committer: Donald Szeto <do...@apache.org>
Committed: Mon Mar 20 11:01:09 2017 -0700

----------------------------------------------------------------------
 .../scala/org/apache/predictionio/tools/commands/Management.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/a4edda1f/tools/src/main/scala/org/apache/predictionio/tools/commands/Management.scala
----------------------------------------------------------------------
diff --git a/tools/src/main/scala/org/apache/predictionio/tools/commands/Management.scala b/tools/src/main/scala/org/apache/predictionio/tools/commands/Management.scala
index 10aca41..47c9f3b 100644
--- a/tools/src/main/scala/org/apache/predictionio/tools/commands/Management.scala
+++ b/tools/src/main/scala/org/apache/predictionio/tools/commands/Management.scala
@@ -170,7 +170,7 @@ object Management extends EitherLogging {
         } getOrElse {
           "No properly configured storage backend sources."
         }
-        return logAndFail(errStr + sources)
+        return logOnFail(errStr + sources, e)
     }
     info("Your system is all ready to go.")
     Right(pioStatus)