mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Merge pull request #4256 from dloverin/json-error-msg
write SyntaxError.message to console log
This commit is contained in:
commit
10d8170bd6
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