Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #12 from intelsdi-x/better_error_handling
Browse files Browse the repository at this point in the history
better error handling when incorrect config file
  • Loading branch information
daria-lewandowska authored Sep 27, 2016
2 parents 5fba249 + 2d6d4ed commit e6c564e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion novaplugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ func (self *NovaPlugin) init(cfg interface{}) error {
err := ReadConfig(cfg, &self.config)

if err != nil {
panic(fmt.Errorf("plugin initalization failed : [%v]", err))
return err
}

// testingCollector is a variable that might either be newCollector
Expand Down

0 comments on commit e6c564e

Please sign in to comment.