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,9 +30,11 @@ var (
func TgInit() {
defer func() {
recover()
tgPush = func(id string, kind string, message string) {
err := recover()
if err != nil {
tgPush = func(id string, kind string, message string) {
}
}
}()
config := conf.GetConfig()