{"action":"created","issue":{"url":"https://api.github.com/repos/seancdavis/sapwood/issues/242","labels_url":"https://api.github.com/repos/seancdavis/sapwood/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/seancdavis/sapwood/issues/242/comments","events_url":"https://api.github.com/repos/seancdavis/sapwood/issues/242/events","html_url":"https://github.com/seancdavis/sapwood/issues/242","id":87352671,"number":242,"title":"Trap URI::InvalidURIError as 404","user":{"login":"hungrymedia","id":354485,"avatar_url":"https://avatars.githubusercontent.com/u/354485?v=3","gravatar_id":"","url":"https://api.github.com/users/hungrymedia","html_url":"https://github.com/hungrymedia","followers_url":"https://api.github.com/users/hungrymedia/followers","following_url":"https://api.github.com/users/hungrymedia/following{/other_user}","gists_url":"https://api.github.com/users/hungrymedia/gists{/gist_id}","starred_url":"https://api.github.com/users/hungrymedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hungrymedia/subscriptions","organizations_url":"https://api.github.com/users/hungrymedia/orgs","repos_url":"https://api.github.com/users/hungrymedia/repos","events_url":"https://api.github.com/users/hungrymedia/events{/privacy}","received_events_url":"https://api.github.com/users/hungrymedia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/seancdavis/sapwood/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"seancdavis","id":5245089,"avatar_url":"https://avatars.githubusercontent.com/u/5245089?v=3","gravatar_id":"","url":"https://api.github.com/users/seancdavis","html_url":"https://github.com/seancdavis","followers_url":"https://api.github.com/users/seancdavis/followers","following_url":"https://api.github.com/users/seancdavis/following{/other_user}","gists_url":"https://api.github.com/users/seancdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/seancdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seancdavis/subscriptions","organizations_url":"https://api.github.com/users/seancdavis/orgs","repos_url":"https://api.github.com/users/seancdavis/repos","events_url":"https://api.github.com/users/seancdavis/events{/privacy}","received_events_url":"https://api.github.com/users/seancdavis/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/seancdavis/sapwood/milestones/18","html_url":"https://github.com/seancdavis/sapwood/milestones/v1.5.x","labels_url":"https://api.github.com/repos/seancdavis/sapwood/milestones/18/labels","id":1110186,"number":18,"title":"v1.5.x","description":"","creator":{"login":"seancdavis","id":5245089,"avatar_url":"https://avatars.githubusercontent.com/u/5245089?v=3","gravatar_id":"","url":"https://api.github.com/users/seancdavis","html_url":"https://github.com/seancdavis","followers_url":"https://api.github.com/users/seancdavis/followers","following_url":"https://api.github.com/users/seancdavis/following{/other_user}","gists_url":"https://api.github.com/users/seancdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/seancdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seancdavis/subscriptions","organizations_url":"https://api.github.com/users/seancdavis/orgs","repos_url":"https://api.github.com/users/seancdavis/repos","events_url":"https://api.github.com/users/seancdavis/events{/privacy}","received_events_url":"https://api.github.com/users/seancdavis/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"open","created_at":"2015-05-14T13:16:43Z","updated_at":"2015-06-29T16:54:40Z","due_on":"2015-06-29T04:00:00Z","closed_at":null},"comments":2,"created_at":"2015-06-11T13:46:22Z","updated_at":"2015-06-29T16:54:40Z","closed_at":null,"body":"An URI::InvalidURIError occurred in #:\r\n\r\n  bad URI(is not URI?): http://thornvalleysafety.com/documents/policies/towing company policy and safety manual"},"comment":{"url":"https://api.github.com/repos/seancdavis/sapwood/issues/comments/116759903","html_url":"https://github.com/seancdavis/sapwood/issues/242#issuecomment-116759903","issue_url":"https://api.github.com/repos/seancdavis/sapwood/issues/242","id":116759903,"user":{"login":"seancdavis","id":5245089,"avatar_url":"https://avatars.githubusercontent.com/u/5245089?v=3","gravatar_id":"","url":"https://api.github.com/users/seancdavis","html_url":"https://github.com/seancdavis","followers_url":"https://api.github.com/users/seancdavis/followers","following_url":"https://api.github.com/users/seancdavis/following{/other_user}","gists_url":"https://api.github.com/users/seancdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/seancdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seancdavis/subscriptions","organizations_url":"https://api.github.com/users/seancdavis/orgs","repos_url":"https://api.github.com/users/seancdavis/repos","events_url":"https://api.github.com/users/seancdavis/events{/privacy}","received_events_url":"https://api.github.com/users/seancdavis/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T16:54:40Z","updated_at":"2015-06-29T16:54:40Z","body":"@hungrymedia: I'm trapping the error [here](https://github.com/seancdavis/sapwood/blob/master/app/controllers/viewer/pages_controller.rb#L5-17).\r\n\r\nIt is properly calling the `error_404` method and it is doing the 404 rendering and all that, but it is still triggering the exception notification message.\r\n\r\nAny ideas on how we avoid the notification from being sent?"}}