Commit Graph

1 Commits

Author SHA1 Message Date
JG²
af2c688634 config: not properly loaded error (#140)
* config: not properly loaded error

When a wrong config file was used, it result in a panic.
Adding some check condition to validate the Unmarshaled configuration
before using it

fixes #134

* check if datasource is set

* move error locally instead of utils/errors
2016-04-18 13:11:44 -04:00