{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5841","repository_url":"https://api.github.com/repos/CenterForOpenScience/osf.io","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5841/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5841/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5841/events","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/5841","id":160254531,"number":5841,"title":"[RFR][Feature][OSF-6504]Add exception handling for invalid subscription targets ","user":{"login":"TomBaxter","id":407143,"avatar_url":"https://avatars.githubusercontent.com/u/407143?v=3","gravatar_id":"","url":"https://api.github.com/users/TomBaxter","html_url":"https://github.com/TomBaxter","followers_url":"https://api.github.com/users/TomBaxter/followers","following_url":"https://api.github.com/users/TomBaxter/following{/other_user}","gists_url":"https://api.github.com/users/TomBaxter/gists{/gist_id}","starred_url":"https://api.github.com/users/TomBaxter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomBaxter/subscriptions","organizations_url":"https://api.github.com/users/TomBaxter/orgs","repos_url":"https://api.github.com/users/TomBaxter/repos","events_url":"https://api.github.com/users/TomBaxter/events{/privacy}","received_events_url":"https://api.github.com/users/TomBaxter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones/79","html_url":"https://github.com/CenterForOpenScience/osf.io/milestones/0.77.0","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones/79/labels","id":1816942,"number":79,"title":"0.77.0","description":"","creator":{"login":"sloria","id":2379650,"avatar_url":"https://avatars.githubusercontent.com/u/2379650?v=3","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":24,"state":"open","created_at":"2016-06-09T03:01:24Z","updated_at":"2016-06-14T19:18:15Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-06-14T18:43:04Z","updated_at":"2016-06-15T17:45:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5841","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/5841","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/5841.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/5841.patch"},"body":"## Purpose:\r\n[OSF-6504](https://openscience.atlassian.net/browse/OSF-6504)\r\nFix \"populate_institutions.py no longer works\"\r\n\r\n## Changes:\r\nAdd  website/notifications/exceptions.py containing class InvalidSubscriptionError(NodeError)\r\nUpdate website/notifications/listeners.py to try/except and catch InvalidSubscriptionError\r\nUpdate website/notifications/utils.py \"def subscribe_user_to_notifications\" raise InvalidSubscriptionError for institution/bookmark/deleted node targets\r\n\r\n## Side effects\r\nNone\r\n\r\n[#OSF-6504]"},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments/226264618","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/5841#issuecomment-226264618","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5841","id":226264618,"user":{"login":"sloria","id":2379650,"avatar_url":"https://avatars.githubusercontent.com/u/2379650?v=3","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T17:45:55Z","updated_at":"2016-06-15T17:45:55Z","body":"Just a few additional drive-by comments. Once those and Brian's suggestion are addressed, this is good to merge."}}
{"actor":{"display_login":"sloria"}}