X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7058d836f75c845b7790c7ab6eb2f75844ce0c1c..e198ec6252aaacbece6c3d3a6e7957588b619b8a:/app/controllers/way_controller.rb diff --git a/app/controllers/way_controller.rb b/app/controllers/way_controller.rb index 5b0a632f7..80c75d91c 100644 --- a/app/controllers/way_controller.rb +++ b/app/controllers/way_controller.rb @@ -22,6 +22,7 @@ class WayController < ApplicationController render :nothing => true, :status => :method_not_allowed end rescue OSM::APIError => ex + logger.warn request.raw_post render ex.render_opts end end @@ -56,6 +57,7 @@ class WayController < ApplicationController render :nothing => true, :status => :bad_request end rescue OSM::APIError => ex + logger.warn request.raw_post render ex.render_opts rescue ActiveRecord::RecordNotFound render :nothing => true, :status => :not_found