[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:
https://github.com/openstreetmap/openstreetmap-website/pull/852
-- Commit Summary --
* Rescue to StandardError instead of Exception
-- File Changes --
M lib/osm.rb (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/852.patch
https://github.com/openstreetmap/openstreetmap-website/pull/852.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/852
-------------- 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