Skip to content
Snippets Groups Projects
Commit 3c8a1977 authored by Xu Cheng's avatar Xu Cheng
Browse files

update: handle more exceptions


Closes Homebrew/homebrew#42558.

Signed-off-by: default avatarXu Cheng <xucheng@me.com>
parent 3369c55d
No related branches found
No related tags found
No related merge requests found
......@@ -206,7 +206,7 @@ class Updater
new_version = formula.pkg_version
old_version = FormulaVersions.new(formula).formula_at_revision(@initial_revision, &:pkg_version)
next if new_version == old_version
rescue LoadError, FormulaUnavailableError => e
rescue FormulaUnavailableError, *FormulaVersions::IGNORED_EXCEPTIONS => e
onoe e if ARGV.homebrew_developer?
end
map[:M] << file
......
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