Skip to content

Find, verify, and analyze leaked credentials

fix logging

Dustin Decker736fa201f2be
diff --git a/main.go b/main.go
index 1c41e4b24..99d4cc675 100644
--- a/main.go
+++ b/main.go
@@ -103,7 +103,7 @@ func main() {
filter, err := common.FilterFromFiles(*gitScanIncludePaths, *gitScanExcludePaths)
if err != nil {
- logrus.WithError(err)
+ logrus.WithError(err).Fatal("could not create filter")
}
var repoPath string