add the config file path to the error (#407)

This commit is contained in:
Jeff Williams 2013-04-23 09:12:05 -07:00
parent 352aa84091
commit ac857da48d

View File

@ -182,7 +182,7 @@ function main() {
.get(); .get();
} }
catch (e) { catch (e) {
throw new Error('Configuration file cannot be evaluated: ' + e); throw new Error('Cannot parse the config file ' + confPath + ': ' + e);
} }
// look for options on the command line, in the config file, and in the defaults, in that order // look for options on the command line, in the config file, and in the defaults, in that order