lib/rage/application.rb in rage-rb-0.2.0 vs lib/rage/application.rb in rage-rb-0.3.0
- old
+ new
@@ -17,10 +17,10 @@
else
[404, {}, ["Not Found"]]
end
rescue => e
- [500, {}, ["#{e.class}:#{e.message}\n\n#{e.backtrace.join("\n")}"]] # TODO: check Rage.env
+ [500, {}, ["#{e.class}:#{e.message}\n\n#{e.backtrace.join("\n")}"]]
ensure
# notify Iodine the request can now be served
Iodine.publish(env["IODINE_REQUEST_ID"], "")
end