fix rc json error message

This commit is contained in:
Sebastian McKenzie 2015-02-25 22:00:32 +11:00
parent 46a37f4672
commit b7f19221a9

View File

@ -26,7 +26,7 @@ module.exports = function (loc, opts) {
try { try {
json = JSON.parse(content); json = JSON.parse(content);
} catch (err) { } catch (err) {
err.filename = file + ": " + err.filename; err.message = file + ": " + err.message;
throw err; throw err;
} }