more meaningful error message on parse errors

This commit is contained in:
Matthias Bartelmeß 2012-07-09 16:13:47 +02:00
parent 732a152f77
commit 796552edbf

View file

@ -123,8 +123,8 @@ try
} }
catch(e) catch(e)
{ {
console.error("There is a syntax error in your settings.ym file"); console.error("There is a syntax error in your settings.yml file");
console.error(e.message); console.error(e.toString());
process.exit(1); process.exit(1);
} }