]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Update robots.txt to Disallow browser [node|way|relation] history. Content now worth...
[rails.git] / app / controllers / application_controller.rb
index 6750b5d8e2b7487874fbc180c35b941e0986fabb..0c41170470c3d9b1054be5cb8e4c61a55e3a3b77 100644 (file)
@@ -192,6 +192,8 @@ class ApplicationController < ActionController::Base
       report_error message, :bad_request
     rescue OSM::APIError => ex
       report_error ex.message, ex.status
+    rescue ActionController::UnknownAction => ex
+      raise
     rescue Exception => ex
       logger.info("API threw unexpected #{ex.class} exception: #{ex.message}")
       ex.backtrace.each { |l| logger.info(l) }