FloatTech / FloatTech/ZeroBot-Plugin
[Feat] 在所有出错的地方打印error日志
Open
enhancement
help wanted
- Dominant language
- Go
- Stars
- 2.6k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
很多插件的处理方式为
```go
if err != nil {
ctx.SendChain(message.Text("ERROR: ", err))
return
}
```
在没有堆栈信息的时候不好调试错误,希望改为如下形式
```go
if err != nil {
log.Error("<插件名称>",err)
ctx.SendChain(message.Text("ERROR: ", err))
return
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.