mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(region): show local task stack info (#19902)
This commit is contained in:
@@ -55,7 +55,7 @@ func (t *localTask) Run() {
|
||||
yunionconf.BugReport.SendBugReport(context.Background(), version.GetShortString(), string(debug.Stack()), errors.Errorf("%s", r))
|
||||
log.Errorf("LocalTaskRun error: %s", r)
|
||||
debug.PrintStack()
|
||||
t.task.ScheduleRun(Error2TaskData(fmt.Errorf("LocalTaskRun error: %s", r)))
|
||||
t.task.ScheduleRun(Error2TaskData(fmt.Errorf("LocalTaskRun error: %s stack: %s", r, string(debug.Stack()))))
|
||||
}
|
||||
}()
|
||||
data, err := t.proc()
|
||||
|
||||
Reference in New Issue
Block a user