refactor(error): 规范化分层错误类型并优化异常捕捉
- 新增 tracing 记录异常,移除不必要的 Result - 重构 错误处理架构
This commit is contained in:
@@ -21,3 +21,4 @@ serde = { version = "1.0.228", features = ["derive"] }
|
||||
serde_json = "1.0.150"
|
||||
ndarray = "0.16.1"
|
||||
thiserror = "1.0" # 刚好可以开始接入你需要的标准库错误处理
|
||||
tracing = "0.1.44" # 埋入日志打点(后续需要继续优化,现在只是简单尝试)
|
||||
Reference in New Issue
Block a user