lib/thomler.rb in thomler-0.1.6 vs lib/thomler.rb in thomler-0.1.7
- old
+ new
@@ -10,13 +10,12 @@
end
klass, act = get_controller_and_action(env)
controller = klass.new(env)
begin
text = controller.send(act)
- rescue Exception => e
- puts e.message
- puts e.backtrace.inspect
- end
+ rescue Exception => e
+ puts e.message
+ puts e.backtrace.inspect
end
[200, {'Content-Type' => 'text/html'}, [text]]
end
end