Skip to content
Browse files

backtrace dump should use Kernel.puts

  • Loading branch information...
1 parent c4159b2 commit e60d5953bc348effc22a828de83203b54dbd3629 @zapnap zapnap committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 application.rb
View
3 application.rb
@@ -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 e60d595

Please sign in to comment.
Something went wrong with that request. Please try again.