You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gi...@apache.org on 2018/04/23 07:16:35 UTC
mesos git commit: Improved error message in the fetcher.
Repository: mesos
Updated Branches:
refs/heads/master 2d7b7ef6d -> 767960074
Improved error message in the fetcher.
Included error message from `mkdir` when
returning error.
Review: https://reviews.apache.org/r/66725/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/76796007
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/76796007
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/76796007
Branch: refs/heads/master
Commit: 7679600740028ce4af263e9bf0a7f03a653d039b
Parents: 2d7b7ef
Author: Meng Zhu <mz...@mesosphere.io>
Authored: Mon Apr 23 00:16:09 2018 -0700
Committer: Gilbert Song <so...@gmail.com>
Committed: Mon Apr 23 00:16:09 2018 -0700
----------------------------------------------------------------------
src/launcher/fetcher.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/76796007/src/launcher/fetcher.cpp
----------------------------------------------------------------------
diff --git a/src/launcher/fetcher.cpp b/src/launcher/fetcher.cpp
index 8a8d7c3..4cff727 100644
--- a/src/launcher/fetcher.cpp
+++ b/src/launcher/fetcher.cpp
@@ -305,7 +305,8 @@ static Try<string> fetchBypassingCache(
if (result.isError()) {
return Error(
- "Unable to create subdirectory " + dirname + " in sandbox");
+ "Unable to create subdirectory " + dirname +
+ " in sandbox: " + result.error());
}
}
}
@@ -360,7 +361,8 @@ static Try<string> fetchFromCache(
if (result.isError()) {
return Error(
- "Unable to create subdirectory " + dirname + "in sandbox");
+ "Unable to create subdirectory " + dirname +
+ " in sandbox: " + result.error());
}
}
}