improve: error log when login fails

This commit is contained in:
Revincx
2022-10-16 10:46:46 +08:00
parent 9771d8143a
commit 83c46068c7
2 changed files with 6 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ func Guardian() {
if global.Config.Settings.Basic.Interfaces == "" { //单网卡
e := Login(nil)
if e != nil {
log.Errorln("登陆失败: ", e)
log.Errorln("错误: ", e)
}
} else { //多网卡
interfaces, e := util.GetInterfaceAddr()