Merge pull request #9278 from reitermarkus/formulary-backtrace

Don't output backtrace in `Formulary`.
This commit is contained in:
Markus Reiter 2020-11-26 11:38:28 +01:00 committed by GitHub
commit 5786a8937d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,6 @@ module Formulary
mod.const_set(:BUILD_FLAGS, flags)
mod.module_eval(contents, path)
rescue NameError, ArgumentError, ScriptError, MethodDeprecatedError => e
$stderr.puts e.backtrace if Homebrew::EnvConfig.developer?
raise FormulaUnreadableError.new(name, e)
end
class_name = class_s(name)