[openstreetmap-website] Rescue to StandardError instead of Exception (#852)

Adam Conrad notifications at github.com
Mon Dec 8 00:02:28 UTC 2014

Rescuing to `Exception` broadens error handling and is potentially more difficult to track than simply calling `rescue` which is delivered to `StandardError`.
You can merge this Pull Request by running:

  git pull https://github.com/acconrad/openstreetmap-website patch-1

Or you can view, comment on it, or merge it online at:


-- Commit Summary --

  * Rescue to StandardError instead of Exception

-- File Changes --

    M lib/osm.rb (2)

-- Patch Links --


Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20141207/790a026c/attachment.html>

More information about the rails-dev mailing list