{"action":"created","comment":{"url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/comments/237597679","pull_request_review_id":179936918,"id":237597679,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzU5NzY3OQ==","diff_hunk":"@@ -59,13 +59,15 @@ def configure_rollbar\n     Rollbar.configure do |config|\n       config.enabled = false unless options[:rollbar][:token].present?\n       config.access_token = options[:rollbar][:token]\n-\n+      config.exception_level_filters.merge!({\n+       'IOError' => 'ignore'\n+      })\n       # add a filter after Rollbar has built the error payload but before it is delivered to the API,\n       # in order to strip sensitive information out of certain error messages\n       exception_message_transformer = proc do |payload|\n-        clean_message = payload[:exception].message.sub(/http:\\/\\/.+:.+@(.+)\\/fedora\\/rest\\/prod\\/(.*)/,\n+        clean_message = payload[:exception][:message].sub(/http:\\/\\/.+:.+@(.+)\\/fedora\\/rest\\/prod\\/(.*)/,","path":"lib/pushmi_pullyu/cli.rb","position":21,"original_position":21,"commit_id":"f7a70cae1d670ce3522ba11e20e31f3c5d03a183","original_commit_id":"f7a70cae1d670ce3522ba11e20e31f3c5d03a183","user":{"login":"weiweishi","id":2047614,"node_id":"MDQ6VXNlcjIwNDc2MTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2047614?v=4","gravatar_id":"","url":"https://api.github.com/users/weiweishi","html_url":"https://github.com/weiweishi","followers_url":"https://api.github.com/users/weiweishi/followers","following_url":"https://api.github.com/users/weiweishi/following{/other_user}","gists_url":"https://api.github.com/users/weiweishi/gists{/gist_id}","starred_url":"https://api.github.com/users/weiweishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiweishi/subscriptions","organizations_url":"https://api.github.com/users/weiweishi/orgs","repos_url":"https://api.github.com/users/weiweishi/repos","events_url":"https://api.github.com/users/weiweishi/events{/privacy}","received_events_url":"https://api.github.com/users/weiweishi/received_events","type":"User","site_admin":false},"body":"According to Rollbar, the payload json structured like this:\r\n      \"exception\": {\r\n        \"message\": \"<http://****:*****r@mycombe.library.ualberta.ca:8080/fedora/rest/prod/8c/ff/bb/0f/8cffbb0f-8cb8-4061-b6fe-3122a595d181/list_source>: 404\", \r\n        \"class\": \"IOError\"\r\n      }\r\nSo we will need to replace the value in payload[:exception][:message] with the scrubbed version. \r\n\r\n","created_at":"2018-11-29T18:06:12Z","updated_at":"2018-11-29T18:06:13Z","html_url":"https://github.com/ualbertalib/pushmi_pullyu/pull/175#discussion_r237597679","pull_request_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/175","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/comments/237597679"},"html":{"href":"https://github.com/ualbertalib/pushmi_pullyu/pull/175#discussion_r237597679"},"pull_request":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/175"}}},"pull_request":{"url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/175","id":234734177,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NzM0MTc3","html_url":"https://github.com/ualbertalib/pushmi_pullyu/pull/175","diff_url":"https://github.com/ualbertalib/pushmi_pullyu/pull/175.diff","patch_url":"https://github.com/ualbertalib/pushmi_pullyu/pull/175.patch","issue_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues/175","number":175,"state":"open","locked":false,"title":"modifying the filtering tranformation to filter out unwanted info","user":{"login":"weiweishi","id":2047614,"node_id":"MDQ6VXNlcjIwNDc2MTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2047614?v=4","gravatar_id":"","url":"https://api.github.com/users/weiweishi","html_url":"https://github.com/weiweishi","followers_url":"https://api.github.com/users/weiweishi/followers","following_url":"https://api.github.com/users/weiweishi/following{/other_user}","gists_url":"https://api.github.com/users/weiweishi/gists{/gist_id}","starred_url":"https://api.github.com/users/weiweishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiweishi/subscriptions","organizations_url":"https://api.github.com/users/weiweishi/orgs","repos_url":"https://api.github.com/users/weiweishi/repos","events_url":"https://api.github.com/users/weiweishi/events{/privacy}","received_events_url":"https://api.github.com/users/weiweishi/received_events","type":"User","site_admin":false},"body":"* Made changes to Matt's original scrubbing method, based on the json structure of the rollbar payload:\r\n      \"exception\": {\r\n        \"message\": \"<http://****:******@mycombe.library.ualberta.ca:8080/fedora/rest/prod/8c/ff/bb/0f/8cffbb0f-8cb8-4061-b6fe-3122a595d181/list_source>: 404\", \r\n        \"class\": \"IOError\"\r\n      }\r\n* Added level: ignore for IOError messages. ","created_at":"2018-11-29T18:04:53Z","updated_at":"2018-11-29T18:06:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"60a14d1ac773d061fd9753e75aaa4305e210a21f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/175/commits","review_comments_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/175/comments","review_comment_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues/175/comments","statuses_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/statuses/f7a70cae1d670ce3522ba11e20e31f3c5d03a183","head":{"label":"ualbertalib:rollbar_filter","ref":"rollbar_filter","sha":"f7a70cae1d670ce3522ba11e20e31f3c5d03a183","user":{"login":"ualbertalib","id":2856757,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NTY3NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/2856757?v=4","gravatar_id":"","url":"https://api.github.com/users/ualbertalib","html_url":"https://github.com/ualbertalib","followers_url":"https://api.github.com/users/ualbertalib/followers","following_url":"https://api.github.com/users/ualbertalib/following{/other_user}","gists_url":"https://api.github.com/users/ualbertalib/gists{/gist_id}","starred_url":"https://api.github.com/users/ualbertalib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ualbertalib/subscriptions","organizations_url":"https://api.github.com/users/ualbertalib/orgs","repos_url":"https://api.github.com/users/ualbertalib/repos","events_url":"https://api.github.com/users/ualbertalib/events{/privacy}","received_events_url":"https://api.github.com/users/ualbertalib/received_events","type":"Organization","site_admin":false},"repo":{"id":81495521,"node_id":"MDEwOlJlcG9zaXRvcnk4MTQ5NTUyMQ==","name":"pushmi_pullyu","full_name":"ualbertalib/pushmi_pullyu","private":false,"owner":{"login":"ualbertalib","id":2856757,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NTY3NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/2856757?v=4","gravatar_id":"","url":"https://api.github.com/users/ualbertalib","html_url":"https://github.com/ualbertalib","followers_url":"https://api.github.com/users/ualbertalib/followers","following_url":"https://api.github.com/users/ualbertalib/following{/other_user}","gists_url":"https://api.github.com/users/ualbertalib/gists{/gist_id}","starred_url":"https://api.github.com/users/ualbertalib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ualbertalib/subscriptions","organizations_url":"https://api.github.com/users/ualbertalib/orgs","repos_url":"https://api.github.com/users/ualbertalib/repos","events_url":"https://api.github.com/users/ualbertalib/events{/privacy}","received_events_url":"https://api.github.com/users/ualbertalib/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ualbertalib/pushmi_pullyu","description":"Ruby application to manage flow of content from Fedora into Swift for preservation","fork":false,"url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu","forks_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/forks","keys_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/teams","hooks_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/hooks","issue_events_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues/events{/number}","events_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/events","assignees_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/assignees{/user}","branches_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/branches{/branch}","tags_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/tags","blobs_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/refs{/sha}","trees_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/statuses/{sha}","languages_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/languages","stargazers_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/stargazers","contributors_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/contributors","subscribers_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/subscribers","subscription_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/subscription","commits_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/commits{/sha}","git_commits_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/commits{/sha}","comments_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/comments{/number}","issue_comment_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues/comments{/number}","contents_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/contents/{+path}","compare_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/merges","archive_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/downloads","issues_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues{/number}","pulls_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls{/number}","milestones_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/milestones{/number}","notifications_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/labels{/name}","releases_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/releases{/id}","deployments_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/deployments","created_at":"2017-02-09T21:14:44Z","updated_at":"2018-09-18T17:19:16Z","pushed_at":"2018-11-29T18:04:53Z","git_url":"git://github.com/ualbertalib/pushmi_pullyu.git","ssh_url":"git@github.com:ualbertalib/pushmi_pullyu.git","clone_url":"https://github.com/ualbertalib/pushmi_pullyu.git","svn_url":"https://github.com/ualbertalib/pushmi_pullyu","homepage":null,"size":621,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":37,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":37,"watchers":1,"default_branch":"master"}},"base":{"label":"ualbertalib:master","ref":"master","sha":"8d71774f818079a81f0095559bc6b5d3e132f1cb","user":{"login":"ualbertalib","id":2856757,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NTY3NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/2856757?v=4","gravatar_id":"","url":"https://api.github.com/users/ualbertalib","html_url":"https://github.com/ualbertalib","followers_url":"https://api.github.com/users/ualbertalib/followers","following_url":"https://api.github.com/users/ualbertalib/following{/other_user}","gists_url":"https://api.github.com/users/ualbertalib/gists{/gist_id}","starred_url":"https://api.github.com/users/ualbertalib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ualbertalib/subscriptions","organizations_url":"https://api.github.com/users/ualbertalib/orgs","repos_url":"https://api.github.com/users/ualbertalib/repos","events_url":"https://api.github.com/users/ualbertalib/events{/privacy}","received_events_url":"https://api.github.com/users/ualbertalib/received_events","type":"Organization","site_admin":false},"repo":{"id":81495521,"node_id":"MDEwOlJlcG9zaXRvcnk4MTQ5NTUyMQ==","name":"pushmi_pullyu","full_name":"ualbertalib/pushmi_pullyu","private":false,"owner":{"login":"ualbertalib","id":2856757,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NTY3NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/2856757?v=4","gravatar_id":"","url":"https://api.github.com/users/ualbertalib","html_url":"https://github.com/ualbertalib","followers_url":"https://api.github.com/users/ualbertalib/followers","following_url":"https://api.github.com/users/ualbertalib/following{/other_user}","gists_url":"https://api.github.com/users/ualbertalib/gists{/gist_id}","starred_url":"https://api.github.com/users/ualbertalib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ualbertalib/subscriptions","organizations_url":"https://api.github.com/users/ualbertalib/orgs","repos_url":"https://api.github.com/users/ualbertalib/repos","events_url":"https://api.github.com/users/ualbertalib/events{/privacy}","received_events_url":"https://api.github.com/users/ualbertalib/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ualbertalib/pushmi_pullyu","description":"Ruby application to manage flow of content from Fedora into Swift for preservation","fork":false,"url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu","forks_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/forks","keys_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/teams","hooks_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/hooks","issue_events_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues/events{/number}","events_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/events","assignees_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/assignees{/user}","branches_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/branches{/branch}","tags_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/tags","blobs_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/refs{/sha}","trees_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/statuses/{sha}","languages_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/languages","stargazers_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/stargazers","contributors_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/contributors","subscribers_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/subscribers","subscription_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/subscription","commits_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/commits{/sha}","git_commits_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/git/commits{/sha}","comments_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/comments{/number}","issue_comment_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues/comments{/number}","contents_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/contents/{+path}","compare_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/merges","archive_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/downloads","issues_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues{/number}","pulls_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls{/number}","milestones_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/milestones{/number}","notifications_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/labels{/name}","releases_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/releases{/id}","deployments_url":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/deployments","created_at":"2017-02-09T21:14:44Z","updated_at":"2018-09-18T17:19:16Z","pushed_at":"2018-11-29T18:04:53Z","git_url":"git://github.com/ualbertalib/pushmi_pullyu.git","ssh_url":"git@github.com:ualbertalib/pushmi_pullyu.git","clone_url":"https://github.com/ualbertalib/pushmi_pullyu.git","svn_url":"https://github.com/ualbertalib/pushmi_pullyu","homepage":null,"size":621,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":37,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":37,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/175"},"html":{"href":"https://github.com/ualbertalib/pushmi_pullyu/pull/175"},"issue":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues/175"},"comments":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/issues/175/comments"},"review_comments":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/175/comments"},"review_comment":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/pulls/175/commits"},"statuses":{"href":"https://api.github.com/repos/ualbertalib/pushmi_pullyu/statuses/f7a70cae1d670ce3522ba11e20e31f3c5d03a183"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"weiweishi"}}