tdreyno/middleman — Issue #183: No stack trace for errors
Author: bhollis
Created: 2011-12-07 05:51:50+00:00
State: open

I had an error in one of my helpers, and while I was running "server" I could see the error, but no stack trace. Switching the Rack::Server option to use 'webrick' instead of 'thin' in middleman.rb caused stack traces to be printed. However, under Ruby 1.9.3 WEBrick prints "Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true" for every request, which is apparently a harmless error.

Is there something I can do (either as a patch or as config) to make sure Thin prints stack traces on errors, or that makes WEBRick not print annoying messages? I'm using middleman checked out on master.