]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/tracepoints_controller.rb
Merge remote-tracking branch 'upstream/pull/2881'
[rails.git] / app / controllers / api / tracepoints_controller.rb
index b22bcfaeaff994508a4a7d2272035157e0867473..5fbece05b7a1eb08638cb6b8c64acad0897113ad 100644 (file)
@@ -25,8 +25,8 @@ module Api
         bbox = BoundingBox.from_bbox_params(params)
         bbox.check_boundaries
         bbox.check_size
         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
 
         return
       end