{"action":"opened","number":128,"pull_request":{"url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/pulls/128","id":83925638,"html_url":"https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/pull/128","diff_url":"https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/pull/128.diff","patch_url":"https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/pull/128.patch","issue_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/issues/128","number":128,"state":"open","locked":false,"title":"Catch correct exception thrown from Delete()","user":{"login":"svick","id":287848,"avatar_url":"https://avatars.githubusercontent.com/u/287848?v=3","gravatar_id":"","url":"https://api.github.com/users/svick","html_url":"https://github.com/svick","followers_url":"https://api.github.com/users/svick/followers","following_url":"https://api.github.com/users/svick/following{/other_user}","gists_url":"https://api.github.com/users/svick/gists{/gist_id}","starred_url":"https://api.github.com/users/svick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svick/subscriptions","organizations_url":"https://api.github.com/users/svick/orgs","repos_url":"https://api.github.com/users/svick/repos","events_url":"https://api.github.com/users/svick/events{/privacy}","received_events_url":"https://api.github.com/users/svick/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/issues/127.\r\n\r\n[The documentation for `FileInfo.Delete()`](https://msdn.microsoft.com/en-us/library/system.io.fileinfo.delete(v=vs.110).aspx) says that it can throw `IOException`, `SecurityException` and `UnauthorizedAccessException`, so I have removed `FileNotFoundException`, which cannot be thrown by it, added `IOException` to fix the bug and also added `SecurityException` just in case. [`FileInfo.Exists()`](https://msdn.microsoft.com/en-us/library/system.io.fileinfo.exists(v=vs.110).aspx) does not throw.","created_at":"2016-09-04T15:21:46Z","updated_at":"2016-09-04T15:21:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/pulls/128/commits","review_comments_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/pulls/128/comments","review_comment_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/issues/128/comments","statuses_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/statuses/3e1bf81ef94696b43833c6585280daf4dbfe0901","head":{"label":"svick:clearcache-exception","ref":"clearcache-exception","sha":"3e1bf81ef94696b43833c6585280daf4dbfe0901","user":{"login":"svick","id":287848,"avatar_url":"https://avatars.githubusercontent.com/u/287848?v=3","gravatar_id":"","url":"https://api.github.com/users/svick","html_url":"https://github.com/svick","followers_url":"https://api.github.com/users/svick/followers","following_url":"https://api.github.com/users/svick/following{/other_user}","gists_url":"https://api.github.com/users/svick/gists{/gist_id}","starred_url":"https://api.github.com/users/svick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svick/subscriptions","organizations_url":"https://api.github.com/users/svick/orgs","repos_url":"https://api.github.com/users/svick/repos","events_url":"https://api.github.com/users/svick/events{/privacy}","received_events_url":"https://api.github.com/users/svick/received_events","type":"User","site_admin":false},"repo":{"id":60978416,"name":"NuGetPackageExplorer","full_name":"svick/NuGetPackageExplorer","owner":{"login":"svick","id":287848,"avatar_url":"https://avatars.githubusercontent.com/u/287848?v=3","gravatar_id":"","url":"https://api.github.com/users/svick","html_url":"https://github.com/svick","followers_url":"https://api.github.com/users/svick/followers","following_url":"https://api.github.com/users/svick/following{/other_user}","gists_url":"https://api.github.com/users/svick/gists{/gist_id}","starred_url":"https://api.github.com/users/svick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svick/subscriptions","organizations_url":"https://api.github.com/users/svick/orgs","repos_url":"https://api.github.com/users/svick/repos","events_url":"https://api.github.com/users/svick/events{/privacy}","received_events_url":"https://api.github.com/users/svick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/svick/NuGetPackageExplorer","description":"The new home for NuGetPackageExplorer (moved from https://npe.codeplex.com)","fork":true,"url":"https://api.github.com/repos/svick/NuGetPackageExplorer","forks_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/forks","keys_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/teams","hooks_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/hooks","issue_events_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/issues/events{/number}","events_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/events","assignees_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/assignees{/user}","branches_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/branches{/branch}","tags_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/tags","blobs_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/statuses/{sha}","languages_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/languages","stargazers_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/stargazers","contributors_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/contributors","subscribers_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/subscribers","subscription_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/subscription","commits_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/contents/{+path}","compare_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/merges","archive_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/downloads","issues_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/issues{/number}","pulls_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/pulls{/number}","milestones_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/milestones{/number}","notifications_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/labels{/name}","releases_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/releases{/id}","deployments_url":"https://api.github.com/repos/svick/NuGetPackageExplorer/deployments","created_at":"2016-06-12T16:50:40Z","updated_at":"2016-06-12T16:53:44Z","pushed_at":"2016-09-04T15:18:09Z","git_url":"git://github.com/svick/NuGetPackageExplorer.git","ssh_url":"git@github.com:svick/NuGetPackageExplorer.git","clone_url":"https://github.com/svick/NuGetPackageExplorer.git","svn_url":"https://github.com/svick/NuGetPackageExplorer","homepage":"","size":3156,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NuGetPackageExplorer:master","ref":"master","sha":"749ebd14f117c15d80e69c5982a456c7fce04f7d","user":{"login":"NuGetPackageExplorer","id":15967039,"avatar_url":"https://avatars.githubusercontent.com/u/15967039?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGetPackageExplorer","html_url":"https://github.com/NuGetPackageExplorer","followers_url":"https://api.github.com/users/NuGetPackageExplorer/followers","following_url":"https://api.github.com/users/NuGetPackageExplorer/following{/other_user}","gists_url":"https://api.github.com/users/NuGetPackageExplorer/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGetPackageExplorer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGetPackageExplorer/subscriptions","organizations_url":"https://api.github.com/users/NuGetPackageExplorer/orgs","repos_url":"https://api.github.com/users/NuGetPackageExplorer/repos","events_url":"https://api.github.com/users/NuGetPackageExplorer/events{/privacy}","received_events_url":"https://api.github.com/users/NuGetPackageExplorer/received_events","type":"Organization","site_admin":false},"repo":{"id":42267778,"name":"NuGetPackageExplorer","full_name":"NuGetPackageExplorer/NuGetPackageExplorer","owner":{"login":"NuGetPackageExplorer","id":15967039,"avatar_url":"https://avatars.githubusercontent.com/u/15967039?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGetPackageExplorer","html_url":"https://github.com/NuGetPackageExplorer","followers_url":"https://api.github.com/users/NuGetPackageExplorer/followers","following_url":"https://api.github.com/users/NuGetPackageExplorer/following{/other_user}","gists_url":"https://api.github.com/users/NuGetPackageExplorer/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGetPackageExplorer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGetPackageExplorer/subscriptions","organizations_url":"https://api.github.com/users/NuGetPackageExplorer/orgs","repos_url":"https://api.github.com/users/NuGetPackageExplorer/repos","events_url":"https://api.github.com/users/NuGetPackageExplorer/events{/privacy}","received_events_url":"https://api.github.com/users/NuGetPackageExplorer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NuGetPackageExplorer/NuGetPackageExplorer","description":"The new home for NuGetPackageExplorer (moved from https://npe.codeplex.com)","fork":false,"url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer","forks_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/forks","keys_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/teams","hooks_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/hooks","issue_events_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/issues/events{/number}","events_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/events","assignees_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/assignees{/user}","branches_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/branches{/branch}","tags_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/tags","blobs_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/statuses/{sha}","languages_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/languages","stargazers_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/stargazers","contributors_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/contributors","subscribers_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/subscribers","subscription_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/subscription","commits_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/contents/{+path}","compare_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/merges","archive_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/downloads","issues_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/issues{/number}","pulls_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/pulls{/number}","milestones_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/milestones{/number}","notifications_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/labels{/name}","releases_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/releases{/id}","deployments_url":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/deployments","created_at":"2015-09-10T20:03:04Z","updated_at":"2016-09-04T10:36:24Z","pushed_at":"2016-08-23T16:57:46Z","git_url":"git://github.com/NuGetPackageExplorer/NuGetPackageExplorer.git","ssh_url":"git@github.com:NuGetPackageExplorer/NuGetPackageExplorer.git","clone_url":"https://github.com/NuGetPackageExplorer/NuGetPackageExplorer.git","svn_url":"https://github.com/NuGetPackageExplorer/NuGetPackageExplorer","homepage":"","size":3564,"stargazers_count":208,"watchers_count":208,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":36,"forks":40,"open_issues":36,"watchers":208,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/pulls/128"},"html":{"href":"https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/pull/128"},"issue":{"href":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/issues/128"},"comments":{"href":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/issues/128/comments"},"review_comments":{"href":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/pulls/128/comments"},"review_comment":{"href":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/pulls/128/commits"},"statuses":{"href":"https://api.github.com/repos/NuGetPackageExplorer/NuGetPackageExplorer/statuses/3e1bf81ef94696b43833c6585280daf4dbfe0901"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"svick"}}