Closes #317. Switch from addFatalError to addError for showing errors
Fatal Error notifications were scaring the users
This commit is contained in:
parent
bdb1fc0d38
commit
d58f688dab
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue