mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 08:57:10 -06:00
DEV: Fix can't modify frozen string error when reporting server errors (#25033)
Follow up to 9d658591d6
This commit is contained in:
parent
cfec408bc1
commit
a69b386556
@ -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 ~~~~~~~"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user