diff --git a/src/command-installer.coffee b/src/command-installer.coffee index 873c76839..4a0e52bd8 100644 --- a/src/command-installer.coffee +++ b/src/command-installer.coffee @@ -70,7 +70,7 @@ module.exports = try error = null symlinkCommandWithPrivilegeSync(commandPath, destinationPath) - catch error - undefined + catch err + error = err callback?(error)