]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Fixed merge fail - this branch doesn't have javascript_strings.
[rails.git] / app / controllers / application_controller.rb
index c43271b93a81faf5b3426a75097ac5fc1053f0e5..6dbe9165ca2593b20f5fff3c7e6c46f7469016e6 100644 (file)
@@ -174,8 +174,6 @@ class ApplicationController < ActionController::Base
     rescue OSM::APIError => ex
       report_error ex.message, ex.status
     rescue Exception => ex
-      logger.info("API threw unexpected #{ex.class} exception: #{ex.message}")
-      ex.backtrace.each { |l| logger.info(l) }
       report_error "#{ex.class}: #{ex.message}", :internal_server_error
     end
   end