lib/stack_tracy/sinatra.rb in stack_tracy-0.1.4 vs lib/stack_tracy/sinatra.rb in stack_tracy-0.1.5

- old
+ new

@@ -27,17 +27,17 @@ private def open(match) if match.empty? if StackTracy.stack_trace.empty? - StackTracy.open nil, false, @options[:threshold], @options[:limit] + StackTracy.open nil, false, @options else StackTracy.dump do |file| - StackTracy.open file, true, @options[:threshold], @options[:limit] + StackTracy.open file, true, @options end end else - StackTracy.open match, false, @options[:threshold], @options[:limit] + StackTracy.open match, false, @options end [200, {"Content-Type" => "text/html;charset=utf-8", "Content-Length" => Rack::Utils.bytesize("").to_s}, ""] end end \ No newline at end of file