dev-cmd/test: output stacktrace to stderr
This commit is contained in:
parent
6cd1e5e384
commit
d911596af9
@ -105,7 +105,7 @@ module Homebrew
|
|||||||
rescue Exception => e # rubocop:disable Lint/RescueException
|
rescue Exception => e # rubocop:disable Lint/RescueException
|
||||||
retry if retry_test?(f, args: args)
|
retry if retry_test?(f, args: args)
|
||||||
ofail "#{f.full_name}: failed"
|
ofail "#{f.full_name}: failed"
|
||||||
puts e, e.backtrace
|
$stderr.puts e, e.backtrace
|
||||||
ensure
|
ensure
|
||||||
ENV.replace(env)
|
ENV.replace(env)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user