X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9bdade37af7984b6d30dbe5397dfcdebef261bff..ef40b61ff40881966ae4280cfdcb9f92965e9d10:/app/controllers/application_controller.rb diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index e36c9842b..bcaed4565 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -193,8 +193,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