Closes #317. Switch from addFatalError to addError for showing errors

Fatal Error notifications were scaring the users
This commit is contained in:
Glavin Wiechert 2015-05-05 13:08:50 -03:00
parent bdb1fc0d38
commit d58f688dab
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ beautify = ({onSave}) ->
# console.log(e) # console.log(e)
stack = error.stack stack = error.stack
detail = error.message detail = error.message
atom.notifications?.addFatalError(error.message, { atom.notifications?.addError(error.message, {
stack, detail, dismissable: true }) stack, detail, dismissable: true })
# Get the path to the config file # Get the path to the config file