Skip to content

A platform for community discussion. Free, open, simple.

DEV: Minor formatting fix when reporting server exceptions (#25126)

Alan Guo Xiang Tane9f016726ae0
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index d9e932d0f8d..72061733477 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -603,7 +603,7 @@ RSpec.configure do |config|
lines << "~~~~~~~ SERVER EXCEPTIONS ~~~~~~~"
RspecErrorTracker.exceptions.each_with_index do |(path, ex), index|
- lines << "\n" if index != 0
+ lines << "\n"
lines << "Error encountered while proccessing #{path}"
lines << " #{ex.class}: #{ex.message}"
ex.backtrace.each { |line| lines << " #{line}\n" }