Don't use fatal error for package.json errors

Notifications can't associate it with a project path since the
project never loads
This commit is contained in:
Kevin Sawicki
2015-03-03 17:26:25 -08:00
parent 71c138397a
commit cec82bd6ca

View File

@@ -429,4 +429,4 @@ class PackageManager
detail = error.message + " in #{metadataPath}"
stack = error.stack + "\n at #{metadataPath}:1:1"
message = "Failed to load the #{path.basename(packagePath)} package"
atom.notifications.addFatalError(message, {stack, detail, dismissable: true})
atom.notifications.addError(message, {stack, detail, dismissable: true})