Skip to content

Instantly share code, notes, and snippets.

@apotonick
Created September 22, 2015 01:14
Show Gist options
  • Save apotonick/9ec14bc2ef83c96fa4f9 to your computer and use it in GitHub Desktop.
Save apotonick/9ec14bc2ef83c96fa4f9 to your computer and use it in GitHub Desktop.
Rack-test experimenting

There's a :fatal option when writing to rack.errors. However, that doesn't happen so far.

This will write exceptions to STDOUT

Rails.logger = Logger.new(STDOUT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment