lib/mutx/routes.rb in mutx-0.1.19 vs lib/mutx/routes.rb in mutx-0.1.20
- old
+ new
@@ -626,10 +626,10 @@
res.redirect "/tasks"
end
end
-
+ Mutx::Database::MongoConnector.force_close
rescue => e
Mutx::Support::Log.error "Cuba: #{e} #{e.backtrace}" if Mutx::Support::Log
args= {query_string:Mutx::Support::QueryString.new(req), exception:e}
template = Mote.parse(File.read("#{Mutx::View.path}/error_handler.mote"),self, [:args])
\ No newline at end of file