mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
Slightly better error message.
This commit is contained in:
@@ -278,7 +278,7 @@ Package.prototype.loadJSON = function () {
|
||||
|
||||
readJSON(jsonFile, function (err, json) {
|
||||
if (err) {
|
||||
err.details = 'There was an error while reading the ' + config.json;
|
||||
err.details = 'This error was caught when reading the ' + config.json;
|
||||
return this.emit('error', err);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user