Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

backtrace dump should use Kernel.puts

  • Loading branch information...
commit c7e26667f74134cd7e1ca08944a7249a01b8f508 1 parent 04870ab
Nick Plante authored March 25, 2009

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 3  application.rb
3  application.rb
@@ -8,8 +8,7 @@
8 8
 
9 9
 error do
10 10
   e = request.env['sinatra.error']
11  
-  puts e.to_s
12  
-  puts e.backtrace.join('\n')
  11
+  Kernel.puts e.backtrace.join("\n")
13 12
   'Application error'
14 13
 end
15 14
 

0 notes on commit c7e2666

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