X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/951564eed1c82ec1a435f4e4636db86d1b7604fc..077834704e79259e60967b0cde8f8785017e9145:/app/controllers/api/map_controller.rb?ds=sidebyside diff --git a/app/controllers/api/map_controller.rb b/app/controllers/api/map_controller.rb index 27d6f3667..e1d1a3b37 100644 --- a/app/controllers/api/map_controller.rb +++ b/app/controllers/api/map_controller.rb @@ -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