[minor] Clarified error message returned when a config file contains invalid JSON.
This commit is contained in:
parent
78202ecb6c
commit
e7c216e970
1 changed files with 1 additions and 0 deletions
|
@ -122,6 +122,7 @@ File.prototype.loadSync = function (callback) {
|
|||
}
|
||||
|
||||
if (err) {
|
||||
err.message = "Error parsing your JSON configuration file."
|
||||
throw err;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue