Skip to content

Commit

Permalink
Fix merge problem
Browse files Browse the repository at this point in the history
  • Loading branch information
nateberkopec committed Apr 5, 2023
1 parent c83b710 commit f4ec2ee
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/mini_profiler/profiler.rb
Expand Up @@ -384,11 +384,6 @@ def call(env)
) do
status, headers, body = @app.call(env)
end
else
headers = { 'Content-Type' => 'text/html' }
message = "Please install the stackprof gem and require it: add gem 'stackprof' to your Gemfile"
body.close if body.respond_to? :close
return client_settings.handle_cookie([500, headers, message])
end
elsif path == '/rack-mini-profiler/requests'
blank_page_html = <<~HTML
Expand Down

0 comments on commit f4ec2ee

Please sign in to comment.