]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/way_controller.rb
Fixed bug in changeset closing and querying where the number of elements exceeded...
[rails.git] / app / controllers / way_controller.rb
index 5b0a632f75091a37bef05e2e95e6272351027da3..80c75d91c3644d4c72fb04c8ea8758687217fa5a 100644 (file)
@@ -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