mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
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:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user