Don't output backtrace in Formulary.
This commit is contained in:
parent
9d795a777e
commit
0fb9fd2cbe
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user