{"action":"opened","number":14,"pull_request":{"url":"https://api.github.com/repos/PowerShell/xDatabase/pulls/14","id":54915334,"html_url":"https://github.com/PowerShell/xDatabase/pull/14","diff_url":"https://github.com/PowerShell/xDatabase/pull/14.diff","patch_url":"https://github.com/PowerShell/xDatabase/pull/14.patch","issue_url":"https://api.github.com/repos/PowerShell/xDatabase/issues/14","number":14,"state":"open","locked":false,"title":"DacDeploy - additional error handling","user":{"login":"GoEddie","id":4895930,"avatar_url":"https://avatars.githubusercontent.com/u/4895930?v=3","gravatar_id":"","url":"https://api.github.com/users/GoEddie","html_url":"https://github.com/GoEddie","followers_url":"https://api.github.com/users/GoEddie/followers","following_url":"https://api.github.com/users/GoEddie/following{/other_user}","gists_url":"https://api.github.com/users/GoEddie/gists{/gist_id}","starred_url":"https://api.github.com/users/GoEddie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoEddie/subscriptions","organizations_url":"https://api.github.com/users/GoEddie/orgs","repos_url":"https://api.github.com/users/GoEddie/repos","events_url":"https://api.github.com/users/GoEddie/events{/privacy}","received_events_url":"https://api.github.com/users/GoEddie/received_events","type":"User","site_admin":false},"body":"Split out dacpac load, deploy + register to show where a failure occurs and added exception message to output.\r\n\r\nSplit the calls to load a dacpac, deploy and then register into three separate try catch blocks so it is possible to tell where in the process the deploy failed and also added the exception message as this is really needed to debug any failures.\r\n\r\nThis follows on from https://github.com/PowerShell/xDatabase/issues/9\r\n","created_at":"2016-01-02T23:59:10Z","updated_at":"2016-01-02T23:59:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PowerShell/xDatabase/pulls/14/commits","review_comments_url":"https://api.github.com/repos/PowerShell/xDatabase/pulls/14/comments","review_comment_url":"https://api.github.com/repos/PowerShell/xDatabase/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PowerShell/xDatabase/issues/14/comments","statuses_url":"https://api.github.com/repos/PowerShell/xDatabase/statuses/49a16ad033a805ddff17823e86eca763369d4fbd","head":{"label":"GoEddie:dev","ref":"dev","sha":"49a16ad033a805ddff17823e86eca763369d4fbd","user":{"login":"GoEddie","id":4895930,"avatar_url":"https://avatars.githubusercontent.com/u/4895930?v=3","gravatar_id":"","url":"https://api.github.com/users/GoEddie","html_url":"https://github.com/GoEddie","followers_url":"https://api.github.com/users/GoEddie/followers","following_url":"https://api.github.com/users/GoEddie/following{/other_user}","gists_url":"https://api.github.com/users/GoEddie/gists{/gist_id}","starred_url":"https://api.github.com/users/GoEddie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoEddie/subscriptions","organizations_url":"https://api.github.com/users/GoEddie/orgs","repos_url":"https://api.github.com/users/GoEddie/repos","events_url":"https://api.github.com/users/GoEddie/events{/privacy}","received_events_url":"https://api.github.com/users/GoEddie/received_events","type":"User","site_admin":false},"repo":{"id":48927941,"name":"xDatabase","full_name":"GoEddie/xDatabase","owner":{"login":"GoEddie","id":4895930,"avatar_url":"https://avatars.githubusercontent.com/u/4895930?v=3","gravatar_id":"","url":"https://api.github.com/users/GoEddie","html_url":"https://github.com/GoEddie","followers_url":"https://api.github.com/users/GoEddie/followers","following_url":"https://api.github.com/users/GoEddie/following{/other_user}","gists_url":"https://api.github.com/users/GoEddie/gists{/gist_id}","starred_url":"https://api.github.com/users/GoEddie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoEddie/subscriptions","organizations_url":"https://api.github.com/users/GoEddie/orgs","repos_url":"https://api.github.com/users/GoEddie/repos","events_url":"https://api.github.com/users/GoEddie/events{/privacy}","received_events_url":"https://api.github.com/users/GoEddie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GoEddie/xDatabase","description":null,"fork":true,"url":"https://api.github.com/repos/GoEddie/xDatabase","forks_url":"https://api.github.com/repos/GoEddie/xDatabase/forks","keys_url":"https://api.github.com/repos/GoEddie/xDatabase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoEddie/xDatabase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoEddie/xDatabase/teams","hooks_url":"https://api.github.com/repos/GoEddie/xDatabase/hooks","issue_events_url":"https://api.github.com/repos/GoEddie/xDatabase/issues/events{/number}","events_url":"https://api.github.com/repos/GoEddie/xDatabase/events","assignees_url":"https://api.github.com/repos/GoEddie/xDatabase/assignees{/user}","branches_url":"https://api.github.com/repos/GoEddie/xDatabase/branches{/branch}","tags_url":"https://api.github.com/repos/GoEddie/xDatabase/tags","blobs_url":"https://api.github.com/repos/GoEddie/xDatabase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoEddie/xDatabase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoEddie/xDatabase/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoEddie/xDatabase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoEddie/xDatabase/statuses/{sha}","languages_url":"https://api.github.com/repos/GoEddie/xDatabase/languages","stargazers_url":"https://api.github.com/repos/GoEddie/xDatabase/stargazers","contributors_url":"https://api.github.com/repos/GoEddie/xDatabase/contributors","subscribers_url":"https://api.github.com/repos/GoEddie/xDatabase/subscribers","subscription_url":"https://api.github.com/repos/GoEddie/xDatabase/subscription","commits_url":"https://api.github.com/repos/GoEddie/xDatabase/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoEddie/xDatabase/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoEddie/xDatabase/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoEddie/xDatabase/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoEddie/xDatabase/contents/{+path}","compare_url":"https://api.github.com/repos/GoEddie/xDatabase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoEddie/xDatabase/merges","archive_url":"https://api.github.com/repos/GoEddie/xDatabase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoEddie/xDatabase/downloads","issues_url":"https://api.github.com/repos/GoEddie/xDatabase/issues{/number}","pulls_url":"https://api.github.com/repos/GoEddie/xDatabase/pulls{/number}","milestones_url":"https://api.github.com/repos/GoEddie/xDatabase/milestones{/number}","notifications_url":"https://api.github.com/repos/GoEddie/xDatabase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoEddie/xDatabase/labels{/name}","releases_url":"https://api.github.com/repos/GoEddie/xDatabase/releases{/id}","created_at":"2016-01-02T23:52:57Z","updated_at":"2016-01-02T23:52:57Z","pushed_at":"2016-01-02T23:54:59Z","git_url":"git://github.com/GoEddie/xDatabase.git","ssh_url":"git@github.com:GoEddie/xDatabase.git","clone_url":"https://github.com/GoEddie/xDatabase.git","svn_url":"https://github.com/GoEddie/xDatabase","homepage":null,"size":29,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"PowerShell:dev","ref":"dev","sha":"dd1cb28b22fea150dc6cb76b0bf4ccadccf82a75","user":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars.githubusercontent.com/u/11524380?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"repo":{"id":34022226,"name":"xDatabase","full_name":"PowerShell/xDatabase","owner":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars.githubusercontent.com/u/11524380?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PowerShell/xDatabase","description":null,"fork":false,"url":"https://api.github.com/repos/PowerShell/xDatabase","forks_url":"https://api.github.com/repos/PowerShell/xDatabase/forks","keys_url":"https://api.github.com/repos/PowerShell/xDatabase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PowerShell/xDatabase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PowerShell/xDatabase/teams","hooks_url":"https://api.github.com/repos/PowerShell/xDatabase/hooks","issue_events_url":"https://api.github.com/repos/PowerShell/xDatabase/issues/events{/number}","events_url":"https://api.github.com/repos/PowerShell/xDatabase/events","assignees_url":"https://api.github.com/repos/PowerShell/xDatabase/assignees{/user}","branches_url":"https://api.github.com/repos/PowerShell/xDatabase/branches{/branch}","tags_url":"https://api.github.com/repos/PowerShell/xDatabase/tags","blobs_url":"https://api.github.com/repos/PowerShell/xDatabase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PowerShell/xDatabase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PowerShell/xDatabase/git/refs{/sha}","trees_url":"https://api.github.com/repos/PowerShell/xDatabase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PowerShell/xDatabase/statuses/{sha}","languages_url":"https://api.github.com/repos/PowerShell/xDatabase/languages","stargazers_url":"https://api.github.com/repos/PowerShell/xDatabase/stargazers","contributors_url":"https://api.github.com/repos/PowerShell/xDatabase/contributors","subscribers_url":"https://api.github.com/repos/PowerShell/xDatabase/subscribers","subscription_url":"https://api.github.com/repos/PowerShell/xDatabase/subscription","commits_url":"https://api.github.com/repos/PowerShell/xDatabase/commits{/sha}","git_commits_url":"https://api.github.com/repos/PowerShell/xDatabase/git/commits{/sha}","comments_url":"https://api.github.com/repos/PowerShell/xDatabase/comments{/number}","issue_comment_url":"https://api.github.com/repos/PowerShell/xDatabase/issues/comments{/number}","contents_url":"https://api.github.com/repos/PowerShell/xDatabase/contents/{+path}","compare_url":"https://api.github.com/repos/PowerShell/xDatabase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PowerShell/xDatabase/merges","archive_url":"https://api.github.com/repos/PowerShell/xDatabase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PowerShell/xDatabase/downloads","issues_url":"https://api.github.com/repos/PowerShell/xDatabase/issues{/number}","pulls_url":"https://api.github.com/repos/PowerShell/xDatabase/pulls{/number}","milestones_url":"https://api.github.com/repos/PowerShell/xDatabase/milestones{/number}","notifications_url":"https://api.github.com/repos/PowerShell/xDatabase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PowerShell/xDatabase/labels{/name}","releases_url":"https://api.github.com/repos/PowerShell/xDatabase/releases{/id}","created_at":"2015-04-15T22:42:58Z","updated_at":"2015-06-24T06:08:52Z","pushed_at":"2016-01-02T23:59:10Z","git_url":"git://github.com/PowerShell/xDatabase.git","ssh_url":"git@github.com:PowerShell/xDatabase.git","clone_url":"https://github.com/PowerShell/xDatabase.git","svn_url":"https://github.com/PowerShell/xDatabase","homepage":null,"size":29,"stargazers_count":1,"watchers_count":1,"language":"PowerShell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":6,"forks":9,"open_issues":6,"watchers":1,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/PowerShell/xDatabase/pulls/14"},"html":{"href":"https://github.com/PowerShell/xDatabase/pull/14"},"issue":{"href":"https://api.github.com/repos/PowerShell/xDatabase/issues/14"},"comments":{"href":"https://api.github.com/repos/PowerShell/xDatabase/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/PowerShell/xDatabase/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/PowerShell/xDatabase/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PowerShell/xDatabase/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/PowerShell/xDatabase/statuses/49a16ad033a805ddff17823e86eca763369d4fbd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":23,"deletions":7,"changed_files":1}}