Skip to content

Commit bb0f4be

Browse files
committed
TASK: Show debug output earlier in readOriginalPathFromCache
1 parent 98f5e1d commit bb0f4be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flowpathmapper/flowpathmapper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ func (p *PathMapper) readOriginalPathFromCache(path, basePath string) string {
169169
if len(p.config.LocalRoot) > 0 {
170170
localPath = strings.Replace(path, basePath, p.config.LocalRoot, 1)
171171
}
172+
p.logger.Debug("readOriginalPathFromCache %s", localPath)
172173
dat, err := ioutil.ReadFile(localPath)
173174
errorhandler.PanicHandling(err, p.logger)
174175
match := regexpPathAndFilename.FindStringSubmatch(string(dat))
175-
p.logger.Debug("readOriginalPathFromCache %s", localPath)
176176
if len(match) == 2 {
177177
originalPath := match[1]
178178
if len(p.config.LocalRoot) > 0 {

0 commit comments

Comments
 (0)