{"action":"created","comment":{"url":"https://api.github.com/repos/airbrake/airbrake-ruby/pulls/comments/78153973","id":78153973,"diff_hunk":"@@ -13,7 +13,8 @@ class FilterChain\n       notice[:errors].each do |error|\n         Gem.path.each do |gem_path|\n           error[:backtrace].each do |frame|\n-            frame[:file].sub!(/\\A#{gem_path}/, '[GEM_ROOT]'.freeze)\n+            next unless (file = frame[:file])","path":"lib/airbrake-ruby/filter_chain.rb","position":5,"original_position":5,"commit_id":"b91640f5abfac1d417e0e09c3f4be91fe7341048","original_commit_id":"b91640f5abfac1d417e0e09c3f4be91fe7341048","user":{"login":"vmihailenco","id":290976,"avatar_url":"https://avatars.githubusercontent.com/u/290976?v=3","gravatar_id":"","url":"https://api.github.com/users/vmihailenco","html_url":"https://github.com/vmihailenco","followers_url":"https://api.github.com/users/vmihailenco/followers","following_url":"https://api.github.com/users/vmihailenco/following{/other_user}","gists_url":"https://api.github.com/users/vmihailenco/gists{/gist_id}","starred_url":"https://api.github.com/users/vmihailenco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmihailenco/subscriptions","organizations_url":"https://api.github.com/users/vmihailenco/orgs","repos_url":"https://api.github.com/users/vmihailenco/repos","events_url":"https://api.github.com/users/vmihailenco/events{/privacy}","received_events_url":"https://api.github.com/users/vmihailenco/received_events","type":"User","site_admin":false},"body":"Would be nice to have a comment here repeating what you said in PR description \"when airbrake-ruby tries to send an exception with a backtrace, which couldn't be parsed. In that case we put the whole frame into function, leaving line and file nil.\"","created_at":"2016-09-09T09:40:30Z","updated_at":"2016-09-09T09:40:30Z","html_url":"https://github.com/airbrake/airbrake-ruby/pull/120#discussion_r78153973","pull_request_url":"https://api.github.com/repos/airbrake/airbrake-ruby/pulls/120","_links":{"self":{"href":"https://api.github.com/repos/airbrake/airbrake-ruby/pulls/comments/78153973"},"html":{"href":"https://github.com/airbrake/airbrake-ruby/pull/120#discussion_r78153973"},"pull_request":{"href":"https://api.github.com/repos/airbrake/airbrake-ruby/pulls/120"}}},"pull_request":{"url":"https://api.github.com/repos/airbrake/airbrake-ruby/pulls/120","id":84612664,"html_url":"https://github.com/airbrake/airbrake-ruby/pull/120","diff_url":"https://github.com/airbrake/airbrake-ruby/pull/120.diff","patch_url":"https://github.com/airbrake/airbrake-ruby/pull/120.patch","issue_url":"https://api.github.com/repos/airbrake/airbrake-ruby/issues/120","number":120,"state":"open","locked":false,"title":"filter_chain: don't try to filter nil files","user":{"login":"kyrylo","id":1079123,"avatar_url":"https://avatars.githubusercontent.com/u/1079123?v=3","gravatar_id":"","url":"https://api.github.com/users/kyrylo","html_url":"https://github.com/kyrylo","followers_url":"https://api.github.com/users/kyrylo/followers","following_url":"https://api.github.com/users/kyrylo/following{/other_user}","gists_url":"https://api.github.com/users/kyrylo/gists{/gist_id}","starred_url":"https://api.github.com/users/kyrylo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyrylo/subscriptions","organizations_url":"https://api.github.com/users/kyrylo/orgs","repos_url":"https://api.github.com/users/kyrylo/repos","events_url":"https://api.github.com/users/kyrylo/events{/privacy}","received_events_url":"https://api.github.com/users/kyrylo/received_events","type":"User","site_admin":false},"body":"Fixes #117 (undefined method `sub!' for nil:NilClass)\r\n\r\nThe problem can be reproduced when airbrake-ruby tries to send an\r\nexception with a backtrace, which couldn't be parsed. In that case we\r\nput the whole frame into `function`, leaving `line` and `file` nil.","created_at":"2016-09-09T08:32:54Z","updated_at":"2016-09-09T09:40:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"78f7d632715bb28b7c408f6431c0058d16ba5d12","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/airbrake/airbrake-ruby/pulls/120/commits","review_comments_url":"https://api.github.com/repos/airbrake/airbrake-ruby/pulls/120/comments","review_comment_url":"https://api.github.com/repos/airbrake/airbrake-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/airbrake/airbrake-ruby/issues/120/comments","statuses_url":"https://api.github.com/repos/airbrake/airbrake-ruby/statuses/b91640f5abfac1d417e0e09c3f4be91fe7341048","head":{"label":"airbrake:117-undefined-sub","ref":"117-undefined-sub","sha":"b91640f5abfac1d417e0e09c3f4be91fe7341048","user":{"login":"airbrake","id":1015434,"avatar_url":"https://avatars.githubusercontent.com/u/1015434?v=3","gravatar_id":"","url":"https://api.github.com/users/airbrake","html_url":"https://github.com/airbrake","followers_url":"https://api.github.com/users/airbrake/followers","following_url":"https://api.github.com/users/airbrake/following{/other_user}","gists_url":"https://api.github.com/users/airbrake/gists{/gist_id}","starred_url":"https://api.github.com/users/airbrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airbrake/subscriptions","organizations_url":"https://api.github.com/users/airbrake/orgs","repos_url":"https://api.github.com/users/airbrake/repos","events_url":"https://api.github.com/users/airbrake/events{/privacy}","received_events_url":"https://api.github.com/users/airbrake/received_events","type":"Organization","site_admin":false},"repo":{"id":47778822,"name":"airbrake-ruby","full_name":"airbrake/airbrake-ruby","owner":{"login":"airbrake","id":1015434,"avatar_url":"https://avatars.githubusercontent.com/u/1015434?v=3","gravatar_id":"","url":"https://api.github.com/users/airbrake","html_url":"https://github.com/airbrake","followers_url":"https://api.github.com/users/airbrake/followers","following_url":"https://api.github.com/users/airbrake/following{/other_user}","gists_url":"https://api.github.com/users/airbrake/gists{/gist_id}","starred_url":"https://api.github.com/users/airbrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airbrake/subscriptions","organizations_url":"https://api.github.com/users/airbrake/orgs","repos_url":"https://api.github.com/users/airbrake/repos","events_url":"https://api.github.com/users/airbrake/events{/privacy}","received_events_url":"https://api.github.com/users/airbrake/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/airbrake/airbrake-ruby","description":"A plain Ruby Airbrake notifier","fork":false,"url":"https://api.github.com/repos/airbrake/airbrake-ruby","forks_url":"https://api.github.com/repos/airbrake/airbrake-ruby/forks","keys_url":"https://api.github.com/repos/airbrake/airbrake-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/airbrake/airbrake-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/airbrake/airbrake-ruby/teams","hooks_url":"https://api.github.com/repos/airbrake/airbrake-ruby/hooks","issue_events_url":"https://api.github.com/repos/airbrake/airbrake-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/airbrake/airbrake-ruby/events","assignees_url":"https://api.github.com/repos/airbrake/airbrake-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/airbrake/airbrake-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/airbrake/airbrake-ruby/tags","blobs_url":"https://api.github.com/repos/airbrake/airbrake-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/airbrake/airbrake-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/airbrake/airbrake-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/airbrake/airbrake-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/airbrake/airbrake-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/airbrake/airbrake-ruby/languages","stargazers_url":"https://api.github.com/repos/airbrake/airbrake-ruby/stargazers","contributors_url":"https://api.github.com/repos/airbrake/airbrake-ruby/contributors","subscribers_url":"https://api.github.com/repos/airbrake/airbrake-ruby/subscribers","subscription_url":"https://api.github.com/repos/airbrake/airbrake-ruby/subscription","commits_url":"https://api.github.com/repos/airbrake/airbrake-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/airbrake/airbrake-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/airbrake/airbrake-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/airbrake/airbrake-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/airbrake/airbrake-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/airbrake/airbrake-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/airbrake/airbrake-ruby/merges","archive_url":"https://api.github.com/repos/airbrake/airbrake-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/airbrake/airbrake-ruby/downloads","issues_url":"https://api.github.com/repos/airbrake/airbrake-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/airbrake/airbrake-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/airbrake/airbrake-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/airbrake/airbrake-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/airbrake/airbrake-ruby/labels{/name}","releases_url":"https://api.github.com/repos/airbrake/airbrake-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/airbrake/airbrake-ruby/deployments","created_at":"2015-12-10T18:05:25Z","updated_at":"2016-08-05T14:04:56Z","pushed_at":"2016-09-09T08:33:31Z","git_url":"git://github.com/airbrake/airbrake-ruby.git","ssh_url":"git@github.com:airbrake/airbrake-ruby.git","clone_url":"https://github.com/airbrake/airbrake-ruby.git","svn_url":"https://github.com/airbrake/airbrake-ruby","homepage":"https://airbrake.io/","size":182,"stargazers_count":11,"watchers_count":11,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":7,"forks":17,"open_issues":7,"watchers":11,"default_branch":"master"}},"base":{"label":"airbrake:master","ref":"master","sha":"107dd2adb1227700baa1f75a2fe6719fb85a66fb","user":{"login":"airbrake","id":1015434,"avatar_url":"https://avatars.githubusercontent.com/u/1015434?v=3","gravatar_id":"","url":"https://api.github.com/users/airbrake","html_url":"https://github.com/airbrake","followers_url":"https://api.github.com/users/airbrake/followers","following_url":"https://api.github.com/users/airbrake/following{/other_user}","gists_url":"https://api.github.com/users/airbrake/gists{/gist_id}","starred_url":"https://api.github.com/users/airbrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airbrake/subscriptions","organizations_url":"https://api.github.com/users/airbrake/orgs","repos_url":"https://api.github.com/users/airbrake/repos","events_url":"https://api.github.com/users/airbrake/events{/privacy}","received_events_url":"https://api.github.com/users/airbrake/received_events","type":"Organization","site_admin":false},"repo":{"id":47778822,"name":"airbrake-ruby","full_name":"airbrake/airbrake-ruby","owner":{"login":"airbrake","id":1015434,"avatar_url":"https://avatars.githubusercontent.com/u/1015434?v=3","gravatar_id":"","url":"https://api.github.com/users/airbrake","html_url":"https://github.com/airbrake","followers_url":"https://api.github.com/users/airbrake/followers","following_url":"https://api.github.com/users/airbrake/following{/other_user}","gists_url":"https://api.github.com/users/airbrake/gists{/gist_id}","starred_url":"https://api.github.com/users/airbrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airbrake/subscriptions","organizations_url":"https://api.github.com/users/airbrake/orgs","repos_url":"https://api.github.com/users/airbrake/repos","events_url":"https://api.github.com/users/airbrake/events{/privacy}","received_events_url":"https://api.github.com/users/airbrake/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/airbrake/airbrake-ruby","description":"A plain Ruby Airbrake notifier","fork":false,"url":"https://api.github.com/repos/airbrake/airbrake-ruby","forks_url":"https://api.github.com/repos/airbrake/airbrake-ruby/forks","keys_url":"https://api.github.com/repos/airbrake/airbrake-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/airbrake/airbrake-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/airbrake/airbrake-ruby/teams","hooks_url":"https://api.github.com/repos/airbrake/airbrake-ruby/hooks","issue_events_url":"https://api.github.com/repos/airbrake/airbrake-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/airbrake/airbrake-ruby/events","assignees_url":"https://api.github.com/repos/airbrake/airbrake-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/airbrake/airbrake-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/airbrake/airbrake-ruby/tags","blobs_url":"https://api.github.com/repos/airbrake/airbrake-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/airbrake/airbrake-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/airbrake/airbrake-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/airbrake/airbrake-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/airbrake/airbrake-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/airbrake/airbrake-ruby/languages","stargazers_url":"https://api.github.com/repos/airbrake/airbrake-ruby/stargazers","contributors_url":"https://api.github.com/repos/airbrake/airbrake-ruby/contributors","subscribers_url":"https://api.github.com/repos/airbrake/airbrake-ruby/subscribers","subscription_url":"https://api.github.com/repos/airbrake/airbrake-ruby/subscription","commits_url":"https://api.github.com/repos/airbrake/airbrake-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/airbrake/airbrake-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/airbrake/airbrake-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/airbrake/airbrake-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/airbrake/airbrake-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/airbrake/airbrake-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/airbrake/airbrake-ruby/merges","archive_url":"https://api.github.com/repos/airbrake/airbrake-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/airbrake/airbrake-ruby/downloads","issues_url":"https://api.github.com/repos/airbrake/airbrake-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/airbrake/airbrake-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/airbrake/airbrake-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/airbrake/airbrake-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/airbrake/airbrake-ruby/labels{/name}","releases_url":"https://api.github.com/repos/airbrake/airbrake-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/airbrake/airbrake-ruby/deployments","created_at":"2015-12-10T18:05:25Z","updated_at":"2016-08-05T14:04:56Z","pushed_at":"2016-09-09T08:33:31Z","git_url":"git://github.com/airbrake/airbrake-ruby.git","ssh_url":"git@github.com:airbrake/airbrake-ruby.git","clone_url":"https://github.com/airbrake/airbrake-ruby.git","svn_url":"https://github.com/airbrake/airbrake-ruby","homepage":"https://airbrake.io/","size":182,"stargazers_count":11,"watchers_count":11,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":7,"forks":17,"open_issues":7,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/airbrake/airbrake-ruby/pulls/120"},"html":{"href":"https://github.com/airbrake/airbrake-ruby/pull/120"},"issue":{"href":"https://api.github.com/repos/airbrake/airbrake-ruby/issues/120"},"comments":{"href":"https://api.github.com/repos/airbrake/airbrake-ruby/issues/120/comments"},"review_comments":{"href":"https://api.github.com/repos/airbrake/airbrake-ruby/pulls/120/comments"},"review_comment":{"href":"https://api.github.com/repos/airbrake/airbrake-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/airbrake/airbrake-ruby/pulls/120/commits"},"statuses":{"href":"https://api.github.com/repos/airbrake/airbrake-ruby/statuses/b91640f5abfac1d417e0e09c3f4be91fe7341048"}}}}
{"actor":{"display_login":"vmihailenco"}}