This commit is contained in:
johlanse 2022-10-17 13:01:31 +08:00
parent b22e1a5f9e
commit 99f5d70130
1 changed files with 4 additions and 2 deletions

View File

@ -30,10 +30,12 @@ var (
func TgInit() { func TgInit() {
defer func() { defer func() {
recover() err := recover()
if err != nil {
tgPush = func(id string, kind string, message string) { tgPush = func(id string, kind string, message string) {
} }
}
}() }()
config := conf.GetConfig() config := conf.GetConfig()
log.Infoln("已采用tg交互模式") log.Infoln("已采用tg交互模式")