Skip to content

Commit

Permalink
Stop loading the module when we encounter an unknown moduleName
Browse files Browse the repository at this point in the history
  • Loading branch information
fleaz committed Dec 2, 2018
1 parent a04922c commit 7c7a066
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ func main() {
module, err := createModuleObject(moduleName)
if err != nil {
log.Error(err)
continue
}
log.Infof("Loaded module %q", moduleName)
configPath := fmt.Sprintf("modules.%s", moduleName)
Expand Down

0 comments on commit 7c7a066

Please sign in to comment.