Skip to content

Commit

Permalink
fix: add debug trace on rbf/mra scan
Browse files Browse the repository at this point in the history
  • Loading branch information
nilp0inter committed Jun 6, 2020
1 parent 15fa6d8 commit bc21ba5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/srv/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,15 +300,15 @@ func ScanPath(base string, file os.FileInfo, cores *Cores) {
fmt.Printf("RBF: %s\n", filepath)
c, err := scanRBF(filepath)
if err != nil {
// log.Println(filepath, err)
log.Println(filepath, err)
} else {
cores.RBFs = append(cores.RBFs, c)
}
} else if file.Mode().IsRegular() && ext == ".mra" {
fmt.Printf("MRA: %s\n", filepath)
c, err := scanMRA(filepath)
if err != nil {
// log.Println(filepath, err)
log.Println(filepath, err)
} else {
cores.MRAs = append(cores.MRAs, c)
}
Expand Down

0 comments on commit bc21ba5

Please sign in to comment.