mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Only manipulate stack for selector errors
This commit is contained in:
@@ -151,7 +151,7 @@ class Package
|
||||
if error.code is 'EBADSELECTOR'
|
||||
metadataPath = path.join(@path, 'package.json')
|
||||
error.message += " in #{metadataPath}"
|
||||
error.stack += "\n at #{metadataPath}:1:1"
|
||||
error.stack += "\n at #{metadataPath}:1:1"
|
||||
@handleError("Failed to activate the #{@name} package", error)
|
||||
else
|
||||
@activateNow()
|
||||
|
||||
Reference in New Issue
Block a user