mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-11-29 18:27:58 +08:00
[REV] add get task error details when get failed
This commit is contained in:
parent
5aa5eed6b5
commit
1b5799bf19
@ -200,7 +200,8 @@ func Status(task string, nodes []string) {
|
||||
time.Sleep(3 * time.Second)
|
||||
taskE, err := clients.NodeClient.Tasks().Get(task)
|
||||
if err != nil {
|
||||
logrus.Warnf("error get task %s,retry", task)
|
||||
|
||||
logrus.Warnf("error get task %s ,details %s,retry", task,err.String())
|
||||
checkFail += 1
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user