修复tg
This commit is contained in:
parent
b22e1a5f9e
commit
99f5d70130
|
@ -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交互模式")
|
||||||
|
|
Loading…
Reference in New Issue