summaryrefslogtreecommitdiff
path: root/0016-add-more-detailed-log-information-for-load-sandbox.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-09-03 03:24:28 +0000
committerCoprDistGit <infra@openeuler.org>2024-09-03 03:24:28 +0000
commite45819fcb4a96649a4030db7684f140d5ca46735 (patch)
tree544dac3e30a0448eabdc50add41aa3a18982d9f1 /0016-add-more-detailed-log-information-for-load-sandbox.patch
parent1a71e3afebb4b43be63949dcc8e882fe7643f13b (diff)
automatic import of iSuladopeneuler24.03_LTS
Diffstat (limited to '0016-add-more-detailed-log-information-for-load-sandbox.patch')
-rw-r--r--0016-add-more-detailed-log-information-for-load-sandbox.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/0016-add-more-detailed-log-information-for-load-sandbox.patch b/0016-add-more-detailed-log-information-for-load-sandbox.patch
new file mode 100644
index 0000000..db8bf17
--- /dev/null
+++ b/0016-add-more-detailed-log-information-for-load-sandbox.patch
@@ -0,0 +1,26 @@
+From e4facfcd2947b5277789d58a452090b61ca2d383 Mon Sep 17 00:00:00 2001
+From: zhongtao <zhongtao17@huawei.com>
+Date: Wed, 21 Feb 2024 15:04:27 +0800
+Subject: [PATCH 16/43] add more detailed log information for load sandbox
+
+Signed-off-by: zhongtao <zhongtao17@huawei.com>
+---
+ src/daemon/sandbox/sandbox_manager.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/daemon/sandbox/sandbox_manager.cc b/src/daemon/sandbox/sandbox_manager.cc
+index d3db4fb4..cee444f4 100644
+--- a/src/daemon/sandbox/sandbox_manager.cc
++++ b/src/daemon/sandbox/sandbox_manager.cc
+@@ -461,7 +461,7 @@ auto SandboxManager::LoadSandbox(std::string &id) -> std::shared_ptr<Sandbox>
+ Errors tmpError;
+
+ if (!sandbox->Load(tmpError)) {
+- ERROR("Failed to load subdir:%s", id.c_str());
++ ERROR("Failed to load subdir:%s: %s", id.c_str(), tmpError.GetMessage().c_str());
+ return nullptr;
+ }
+
+--
+2.34.1
+