{"action":"created","issue":{"url":"https://api.github.com/repos/bugsnag/bugsnag-ruby/issues/250","labels_url":"https://api.github.com/repos/bugsnag/bugsnag-ruby/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/bugsnag/bugsnag-ruby/issues/250/comments","events_url":"https://api.github.com/repos/bugsnag/bugsnag-ruby/issues/250/events","html_url":"https://github.com/bugsnag/bugsnag-ruby/pull/250","id":98239547,"number":250,"title":"Dont log txn callback errors on 4.2+","user":{"login":"arthurnn","id":833383,"avatar_url":"https://avatars.githubusercontent.com/u/833383?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurnn","html_url":"https://github.com/arthurnn","followers_url":"https://api.github.com/users/arthurnn/followers","following_url":"https://api.github.com/users/arthurnn/following{/other_user}","gists_url":"https://api.github.com/users/arthurnn/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurnn/subscriptions","organizations_url":"https://api.github.com/users/arthurnn/orgs","repos_url":"https://api.github.com/users/arthurnn/repos","events_url":"https://api.github.com/users/arthurnn/events{/privacy}","received_events_url":"https://api.github.com/users/arthurnn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-30T19:01:19Z","updated_at":"2015-07-31T02:16:36Z","closed_at":"2015-07-31T00:59:45Z","pull_request":{"url":"https://api.github.com/repos/bugsnag/bugsnag-ruby/pulls/250","html_url":"https://github.com/bugsnag/bugsnag-ruby/pull/250","diff_url":"https://github.com/bugsnag/bugsnag-ruby/pull/250.diff","patch_url":"https://github.com/bugsnag/bugsnag-ruby/pull/250.patch"},"body":"On Active Record 4.2+ we start no swallowing the errors on\r\ncommit/rollback callbacks, so we dont need to handle them specially on\r\nbugsnag.\r\nNote: on 4.2 there is a option that needs to be +true+ for bring the new behaviour:\r\n`ActiveRecord::Base.raise_in_transactional_callbacks`\r\n\r\nsee on Rails 5:\r\nhttps://github.com/rails/rails/blob/0d76ab9c6f01e6390ba8878a296ff9d3ac6b9aa8/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#L82-L94\r\n\r\nand 4.2:\r\nhttps://github.com/rails/rails/blob/ab104ff869e3a713e403705cdf58f2978d993609/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#L85-L99\r\n\r\nreview @ConradIrwin @snmaynard @loopj "},"comment":{"url":"https://api.github.com/repos/bugsnag/bugsnag-ruby/issues/comments/126543447","html_url":"https://github.com/bugsnag/bugsnag-ruby/pull/250#issuecomment-126543447","issue_url":"https://api.github.com/repos/bugsnag/bugsnag-ruby/issues/250","id":126543447,"user":{"login":"loopj","id":104009,"avatar_url":"https://avatars.githubusercontent.com/u/104009?v=3","gravatar_id":"","url":"https://api.github.com/users/loopj","html_url":"https://github.com/loopj","followers_url":"https://api.github.com/users/loopj/followers","following_url":"https://api.github.com/users/loopj/following{/other_user}","gists_url":"https://api.github.com/users/loopj/gists{/gist_id}","starred_url":"https://api.github.com/users/loopj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loopj/subscriptions","organizations_url":"https://api.github.com/users/loopj/orgs","repos_url":"https://api.github.com/users/loopj/repos","events_url":"https://api.github.com/users/loopj/events{/privacy}","received_events_url":"https://api.github.com/users/loopj/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T02:16:36Z","updated_at":"2015-07-31T02:16:36Z","body":"Thanks @arthurnn! "}}