27 lines
932 B
Diff
27 lines
932 B
Diff
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
|
|
|