fix: Update error message to include details of accumulated startup errors

This commit is contained in:
Tunglies
2025-09-17 14:08:05 +08:00
parent 27636c848f
commit 4c41144dd0
2 changed files with 4 additions and 3 deletions

View File

@@ -138,7 +138,7 @@ rpath = false
[profile.fast-release]
inherits = "release"
panic = "abort"
incremental = true
codegen-units = 64
lto = false
opt-level = 0

View File

@@ -453,8 +453,9 @@ impl Handle {
info,
Type::Frontend,
true,
"发送{}条启动时累积的错误消息",
errors.len()
"发送{}条启动时累积的错误消息: {:?}",
errors.len(),
errors
);
// 启动单独线程处理启动错误,避免阻塞主线程