display error msg

This commit is contained in:
shoopea 2020-04-07 10:28:04 +08:00
parent 361cde4b3e
commit b7b8d440f0

1
job.go
View File

@ -1869,6 +1869,7 @@ func jobSetDef(j Job) {
if cwm.State == `🛌Rest` { if cwm.State == `🛌Rest` {
clt, err := getLockedClient(j.UserID64, false) clt, err := getLockedClient(j.UserID64, false)
logOnError(err, "jobSetDef : getLockedClient")
clt.Mux.Unlock() clt.Mux.Unlock()
clientSendCWMsg(j.UserID64, clt.Config.Wartime) clientSendCWMsg(j.UserID64, clt.Config.Wartime)
} }