lib/rack_check/spec/env.rb in rack_check-0.2.2 vs lib/rack_check/spec/env.rb in rack_check-0.2.3
- old
+ new
@@ -8,10 +8,10 @@
}
def with_server(ru_file)
yield start_server(ru_file)
rescue HTTP::ConnectionError => e
- e.message << "\n\nServer error:\n#{@server&.errors}"
+ e.message = "#{e.message}\n\nServer error:\n#{@server&.errors}"
raise e
ensure
stop_server
end