fix: 携程溢出、优化若干

This commit is contained in:
Mmx
2022-01-11 12:30:32 +08:00
parent a240165eed
commit 8b006e77af
12 changed files with 77 additions and 32 deletions

View File

@@ -8,6 +8,7 @@ import (
func main() {
util.Log.Demo = global.Config.Settings.DemoMode
util.Log.OutPut = true
defer util.Log.CatchRecover()
if global.Flags.RunningDaemon {
@@ -34,7 +35,6 @@ func main() {
return
}
for _, eth := range interfaces {
util.Log.OutPut = true
util.Log.Println(eth.Name)
if err := controllers.Login(true, false, eth.Addr); err != nil {
util.Log.Println(eth.Name + "运行出错,状态异常")