sinatra/sinatra — pull request #475 by jaseg (2012-03-07 00:04:44+00:00)
Title: Modification of showexceptions.rb to output plain text stack traces to curl user agents

The list of user agents is hard coded and currently only matches anything contaning the string "curl"
There were some provisions in the code for this functionality, but apparently they were unused (at least a grep -irn did not reveal any uses for the required function except for the one line in showexceptions.rb).