Permalink
Browse files

backtrace dump should use Kernel.puts

  • Loading branch information...
1 parent 04870ab commit c7e26667f74134cd7e1ca08944a7249a01b8f508 @zapnap committed Mar 25, 2009
Showing with 1 addition and 2 deletions.
  1. +1 −2 application.rb
View
@@ -8,8 +8,7 @@
error do
e = request.env['sinatra.error']
- puts e.to_s
- puts e.backtrace.join('\n')
+ Kernel.puts e.backtrace.join("\n")
'Application error'
end

0 comments on commit c7e2666

Please sign in to comment.