Skip to content
Snippets Groups Projects
Commit 01dc9c49 authored by Jack Nagel's avatar Jack Nagel
Browse files

brew-pull: rescue a specific exception

parent 9a9328ee
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ ARGV.named.each do |arg|
begin
safe_system 'git', 'am', *patch_args
rescue => e
rescue ErrorDuringExecution
system 'git', 'am', '--abort'
odie 'Patch failed to apply: aborted.'
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment