Only manipulate stack for selector errors

This commit is contained in:
Kevin Sawicki
2015-03-03 16:08:30 -08:00
parent 8ba434f4c4
commit 33e01256a7

View File

@@ -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()