]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/map_controller.rb
Add checkbox for contributor terms and improve text
[rails.git] / app / controllers / api / map_controller.rb
index 27d6f3667410b13504851e0298e1eb67257c4154..e1d1a3b37844878661c9458fd41dd282a3396b81 100644 (file)
@@ -22,8 +22,8 @@ module Api
         bbox = BoundingBox.from_bbox_params(params)
         bbox.check_boundaries
         bbox.check_size
-      rescue StandardError => err
-        report_error(err.message)
+      rescue StandardError => e
+        report_error(e.message)
         return
       end