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:
parent
df94b863c2
commit
d44e737a76
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue