mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Fix error string when there is a user config error
This commit is contained in:
@@ -832,7 +832,10 @@ class Config
|
||||
@configFileHasErrors = false
|
||||
catch error
|
||||
@configFileHasErrors = true
|
||||
@notifyFailure('Failed to load config.cson', error.message)
|
||||
if error.location?
|
||||
@notifyFailure('Failed to load config.cson', error.stack)
|
||||
else
|
||||
@notifyFailure('Failed to load config.cson', error.message)
|
||||
|
||||
observeUserConfig: ->
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user