Skip to content

Commit

Permalink
make sure we print an error if the config file is invalid.
Browse files Browse the repository at this point in the history
fixes #408
  • Loading branch information
AnalogJ committed Nov 30, 2022
1 parent c9f13f4 commit fb760a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webapp/backend/cmd/scrutiny/scrutiny.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func main() {
if _, ok := err.(errors.ConfigFileMissingError); ok { // Handle errors reading the config file
//ignore "could not find config file"
} else if err != nil {
log.Print(color.HiRedString("CONFIG ERROR: %v", err))
os.Exit(1)
}

Expand Down

0 comments on commit fb760a9

Please sign in to comment.