Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Catch Panda.resolve exceptions correctly. Fixes GH-32
  • Loading branch information
Tadeusz Sośnierz committed Feb 21, 2013
1 parent 84e6bd9 commit b7b966b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/panda
Expand Up @@ -117,7 +117,7 @@ multi MAIN ('install', *@modules, Bool :$notests, Bool :$nodeps) {
for @modules -> $x {
try {
$panda.resolve($x, :$notests, :$nodeps);
CATCH { say $! }
CATCH { when X::Panda { say $_.message } }
};
}
}
Expand Down

0 comments on commit b7b966b

Please sign in to comment.