Fixing the error type returned when using -dot
The error stack was empty, but the err value itself was not nil. This was causing -dot to return an error message, even when there was no actual error.
This commit is contained in:
parent
3d855e8b1e
commit
c5bf3e018b
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ func spoolDependencyRequest(wc <-chan *dep_msg.Request, ansChan chan<- *WorkerRe
|
||||||
ansChan <- &WorkerResult{
|
ansChan <- &WorkerResult{
|
||||||
req.Name(), g.String(), nil, nil,
|
req.Name(), g.String(), nil, nil,
|
||||||
nil, nil, nil, nil,
|
nil, nil, nil, nil,
|
||||||
err,
|
nil,
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
go performBackgroundAnalysis(req.Name(), relNode, ansChan, analysisDoneChan, reqConf, tree)
|
go performBackgroundAnalysis(req.Name(), relNode, ansChan, analysisDoneChan, reqConf, tree)
|
||||||
|
|
Loading…
Reference in a new issue