A platform for community discussion. Free, open, simple.
DEV: Fix can't modify frozen string error when reporting server errors (#25033)
Alan Guo Xiang Tana69b3865568e
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rbindex 5595e3cbdb9..d0f0df10ae6 100644--- a/spec/rails_helper.rb+++ b/spec/rails_helper.rb@@ -582,7 +582,7 @@ RSpec.configure do |config|config.after :each do |example|if example.exception && RspecErrorTracker.exceptions.present?- lines = (RSpec.current_example.metadata[:extra_failure_lines] ||= "")+ lines = (RSpec.current_example.metadata[:extra_failure_lines] ||= +"")lines << "~~~~~~~ SERVER EXCEPTIONS ~~~~~~~"