formula_versions: try to ignore errors on formula load
This commit is contained in:
parent
49285fb88c
commit
ac87404c34
@ -45,7 +45,7 @@ class FormulaVersions
|
|||||||
|
|
||||||
yield @formula_at_revision[rev] ||= begin
|
yield @formula_at_revision[rev] ||= begin
|
||||||
contents = file_contents_at_revision(rev)
|
contents = file_contents_at_revision(rev)
|
||||||
nostdout { Formulary.from_contents(name, path, contents) }
|
nostdout { Formulary.from_contents(name, path, contents, ignore_errors: true) }
|
||||||
end
|
end
|
||||||
rescue *IGNORED_EXCEPTIONS => e
|
rescue *IGNORED_EXCEPTIONS => e
|
||||||
# We rescue these so that we can skip bad versions and
|
# We rescue these so that we can skip bad versions and
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user