Don't output backtrace in Formulary.

This commit is contained in:
Markus Reiter 2020-11-24 18:55:17 +01:00
parent 9d795a777e
commit 0fb9fd2cbe

View File

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