You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2015/03/18 20:07:13 UTC

mesos git commit: Added more debug info to ABORT() in subprocess childMain().

Repository: mesos
Updated Branches:
  refs/heads/vind/childmain_debug [created] 730ee7cce


Added more debug info to ABORT() in subprocess childMain().


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

Branch: refs/heads/vind/childmain_debug
Commit: 730ee7cce33c7b1f37572ee236a6f10cf96b2f63
Parents: 64b12f5
Author: Vinod Kone <vi...@gmail.com>
Authored: Wed Mar 18 12:06:31 2015 -0700
Committer: Vinod Kone <vi...@gmail.com>
Committed: Wed Mar 18 12:06:52 2015 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/src/subprocess.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/730ee7cc/3rdparty/libprocess/src/subprocess.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/subprocess.cpp b/3rdparty/libprocess/src/subprocess.cpp
index ab8a343..587623f 100644
--- a/3rdparty/libprocess/src/subprocess.cpp
+++ b/3rdparty/libprocess/src/subprocess.cpp
@@ -162,7 +162,8 @@ static int childMain(
 
   os::execvpe(path.c_str(), argv, (*envp)());
 
-  ABORT(string("Failed to os::execvpe in childMain: ") + strerror(errno));
+  ABORT("Failed to os::execvpe '" + path + "' in childMain: "
+      + strerror(errno) + "\n");
 }