Skip to content

Commit 5ad9769

Browse files
committed
Error Log
1 parent 71fa9ba commit 5ad9769

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: exporter.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,17 @@ func listMods(modsFolder string) {
7979
}
8080
}
8181

82-
fMatchResp, _ := getProjectIds(jarFingerprints)
82+
fMatchResp, err := getProjectIds(jarFingerprints)
8383
if fMatchResp != nil {
8484
//fmt.Printf("Unable to find %v", Difference(fMatchResp.InstalledFingerprints, fMatchResp.ExactFingerprints))
8585
createOverrides(Difference(fMatchResp.InstalledFingerprints, fMatchResp.ExactFingerprints))
8686
createExport(fMatchResp.ExactMatches)
8787
} else {
8888
fmt.Println("Unable to read data exiting, contact maintainer")
89+
if err != nil {
90+
log.Fatal(err)
91+
92+
}
8993
os.Exit(1)
9094
}
9195

0 commit comments

Comments
 (0)