mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
write SyntaxError.message to console to provide some help for preference file errors.
This commit is contained in:
1 parent
550797eb8f
commit
fc4c9eeef3
1 file changed
+3
@@ -133,6 +133,9 @@ define(function (require, exports, module) {
|
||||
// continue with null configObj which will result in
|
||||
// default settings.
|
||||
console.log("Error parsing preference file: " + path);
|
||||
if (e instanceof SyntaxError) {
|
||||
console.log(e.message);
|
||||
}
|
||||
}
|
||||
preferences = new Preferences(configObj);
|
||||
deferredPreferences.resolve();
|
||||
|
||||
Reference in new issue
Block a user