Skip to content

Commit

Permalink
Must add an error catch to condition-case.
Browse files Browse the repository at this point in the history
  • Loading branch information
rejeep committed Nov 14, 2013
1 parent 4aeb343 commit c5ebe45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cask.el
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ to install, and ERR is the original error data."
(if package
(condition-case err
(epl-package-install package)
(signal 'cask-failed-installation (cons dependency err)))
(error (signal 'cask-failed-installation (cons dependency err))))
(push dependency missing-dependencies))))))
(when missing-dependencies
(signal 'cask-missing-dependencies (nreverse missing-dependencies))))))
Expand Down

0 comments on commit c5ebe45

Please sign in to comment.