1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Filter out Minitest backtrace.

Filter out Minitest backtrace while allowing backtrace from other
libraries to be shown.
This commit is contained in:
dixpac 2017-08-07 11:40:20 +02:00
parent df94b863c2
commit d44e737a76

View file

@ -12,6 +12,10 @@ ActiveJob::Base.logger = nil
require "active_storage"
# Filter out Minitest backtrace while allowing backtrace from other libraries
# to be shown.
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
require "yaml"
SERVICE_CONFIGURATIONS = begin
erb = ERB.new(Pathname.new(File.expand_path("../service/configurations.yml", __FILE__)).read)