{"action":"created","comment":{"url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/pulls/comments/212612239","pull_request_review_id":149281486,"id":212612239,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjYxMjIzOQ==","diff_hunk":"@@ -786,15 +782,17 @@ def task_run(config, task_name, org, o, debug, debug_before, debug_after, no_pro\n             import pdb\n             pdb.set_trace()\n \n-    except (TaskRequiresSalesforceOrg, TaskOptionsError) as e:\n+    except CumulusCIUsageError as e:\n         # Usage error; report with usage line and no traceback\n         exception = click.UsageError(e.message)\n         handle_exception_debug(config, debug, throw_exception=exception)\n-    except (ApexTestException, BrowserTestFailure, MetadataComponentFailure,\n-            MetadataApiError, ScratchOrgException) as e:\n+    except CumulusCIFailure as e:\n         # Expected failure; report without traceback\n         exception = click.ClickException('Failed: {}'.format(e.__class__.__name__))\n         handle_exception_debug(config, debug, throw_exception=exception)\n+    except ScratchOrgException as e:\n+        exception = click.ClickException('Failed: {}'.format(e.__class__.__name__))\n+        handle_exception_debug(config, debug, throw_exception=exception)","path":"cumulusci/cli/cci.py","position":43,"original_position":43,"commit_id":"c8de627cfa704b8ec4644ee1e49c34a2ede33b09","original_commit_id":"c8de627cfa704b8ec4644ee1e49c34a2ede33b09","user":{"login":"davisagli","id":49014,"node_id":"MDQ6VXNlcjQ5MDE0","avatar_url":"https://avatars0.githubusercontent.com/u/49014?v=4","gravatar_id":"","url":"https://api.github.com/users/davisagli","html_url":"https://github.com/davisagli","followers_url":"https://api.github.com/users/davisagli/followers","following_url":"https://api.github.com/users/davisagli/following{/other_user}","gists_url":"https://api.github.com/users/davisagli/gists{/gist_id}","starred_url":"https://api.github.com/users/davisagli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davisagli/subscriptions","organizations_url":"https://api.github.com/users/davisagli/orgs","repos_url":"https://api.github.com/users/davisagli/repos","events_url":"https://api.github.com/users/davisagli/events{/privacy}","received_events_url":"https://api.github.com/users/davisagli/received_events","type":"User","site_admin":false},"body":"I don't understand your point about why ScratchOrgException should be handled separately. Currently you're handling it exactly the same as CumulusCIFailure and it's a subclass of CumulusCIFailure, so I don't think adding this block does anything.","created_at":"2018-08-24T12:29:45Z","updated_at":"2018-08-24T12:29:53Z","html_url":"https://github.com/SalesforceFoundation/CumulusCI/pull/718#discussion_r212612239","pull_request_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/pulls/718","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/pulls/comments/212612239"},"html":{"href":"https://github.com/SalesforceFoundation/CumulusCI/pull/718#discussion_r212612239"},"pull_request":{"href":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/pulls/718"}}},"pull_request":{"url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/pulls/718","id":209590089,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NTkwMDg5","html_url":"https://github.com/SalesforceFoundation/CumulusCI/pull/718","diff_url":"https://github.com/SalesforceFoundation/CumulusCI/pull/718.diff","patch_url":"https://github.com/SalesforceFoundation/CumulusCI/pull/718.patch","issue_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/issues/718","number":718,"state":"open","locked":false,"title":"Handle RobotTestFailure in cci task run and cci flow run","user":{"login":"jlantz","id":1697127,"node_id":"MDQ6VXNlcjE2OTcxMjc=","avatar_url":"https://avatars1.githubusercontent.com/u/1697127?v=4","gravatar_id":"","url":"https://api.github.com/users/jlantz","html_url":"https://github.com/jlantz","followers_url":"https://api.github.com/users/jlantz/followers","following_url":"https://api.github.com/users/jlantz/following{/other_user}","gists_url":"https://api.github.com/users/jlantz/gists{/gist_id}","starred_url":"https://api.github.com/users/jlantz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlantz/subscriptions","organizations_url":"https://api.github.com/users/jlantz/orgs","repos_url":"https://api.github.com/users/jlantz/repos","events_url":"https://api.github.com/users/jlantz/events{/privacy}","received_events_url":"https://api.github.com/users/jlantz/received_events","type":"User","site_admin":false},"body":"Outputs a single line rather than a python traceback","created_at":"2018-08-20T17:26:08Z","updated_at":"2018-08-24T12:29:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"65cffadd7ee05a5b62d1a01584d5679fe503c716","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/pulls/718/commits","review_comments_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/pulls/718/comments","review_comment_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/issues/718/comments","statuses_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/statuses/c8de627cfa704b8ec4644ee1e49c34a2ede33b09","head":{"label":"SalesforceFoundation:feature/handle-robot-failure-in-cci","ref":"feature/handle-robot-failure-in-cci","sha":"c8de627cfa704b8ec4644ee1e49c34a2ede33b09","user":{"login":"SalesforceFoundation","id":972305,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk3MjMwNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/972305?v=4","gravatar_id":"","url":"https://api.github.com/users/SalesforceFoundation","html_url":"https://github.com/SalesforceFoundation","followers_url":"https://api.github.com/users/SalesforceFoundation/followers","following_url":"https://api.github.com/users/SalesforceFoundation/following{/other_user}","gists_url":"https://api.github.com/users/SalesforceFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/SalesforceFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalesforceFoundation/subscriptions","organizations_url":"https://api.github.com/users/SalesforceFoundation/orgs","repos_url":"https://api.github.com/users/SalesforceFoundation/repos","events_url":"https://api.github.com/users/SalesforceFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/SalesforceFoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":15592459,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU5MjQ1OQ==","name":"CumulusCI","full_name":"SalesforceFoundation/CumulusCI","owner":{"login":"SalesforceFoundation","id":972305,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk3MjMwNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/972305?v=4","gravatar_id":"","url":"https://api.github.com/users/SalesforceFoundation","html_url":"https://github.com/SalesforceFoundation","followers_url":"https://api.github.com/users/SalesforceFoundation/followers","following_url":"https://api.github.com/users/SalesforceFoundation/following{/other_user}","gists_url":"https://api.github.com/users/SalesforceFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/SalesforceFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalesforceFoundation/subscriptions","organizations_url":"https://api.github.com/users/SalesforceFoundation/orgs","repos_url":"https://api.github.com/users/SalesforceFoundation/repos","events_url":"https://api.github.com/users/SalesforceFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/SalesforceFoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SalesforceFoundation/CumulusCI","description":"Python framework for building portable automation for Salesforce projects","fork":false,"url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI","forks_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/forks","keys_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/teams","hooks_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/hooks","issue_events_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/issues/events{/number}","events_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/events","assignees_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/assignees{/user}","branches_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/branches{/branch}","tags_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/tags","blobs_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/git/refs{/sha}","trees_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/statuses/{sha}","languages_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/languages","stargazers_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/stargazers","contributors_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/contributors","subscribers_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/subscribers","subscription_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/subscription","commits_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/commits{/sha}","git_commits_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/git/commits{/sha}","comments_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/comments{/number}","issue_comment_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/issues/comments{/number}","contents_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/contents/{+path}","compare_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/merges","archive_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/downloads","issues_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/issues{/number}","pulls_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/pulls{/number}","milestones_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/milestones{/number}","notifications_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/labels{/name}","releases_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/releases{/id}","deployments_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/deployments","created_at":"2014-01-02T20:01:31Z","updated_at":"2018-08-22T19:41:25Z","pushed_at":"2018-08-24T03:50:57Z","git_url":"git://github.com/SalesforceFoundation/CumulusCI.git","ssh_url":"git@github.com:SalesforceFoundation/CumulusCI.git","clone_url":"https://github.com/SalesforceFoundation/CumulusCI.git","svn_url":"https://github.com/SalesforceFoundation/CumulusCI","homepage":"http://cumulusci.readthedocs.io","size":79467,"stargazers_count":115,"watchers_count":115,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":111,"mirror_url":null,"archived":false,"open_issues_count":90,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":111,"open_issues":90,"watchers":115,"default_branch":"master"}},"base":{"label":"SalesforceFoundation:master","ref":"master","sha":"dca4b46a5d742b5b83b23c817403f6546d7dca63","user":{"login":"SalesforceFoundation","id":972305,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk3MjMwNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/972305?v=4","gravatar_id":"","url":"https://api.github.com/users/SalesforceFoundation","html_url":"https://github.com/SalesforceFoundation","followers_url":"https://api.github.com/users/SalesforceFoundation/followers","following_url":"https://api.github.com/users/SalesforceFoundation/following{/other_user}","gists_url":"https://api.github.com/users/SalesforceFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/SalesforceFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalesforceFoundation/subscriptions","organizations_url":"https://api.github.com/users/SalesforceFoundation/orgs","repos_url":"https://api.github.com/users/SalesforceFoundation/repos","events_url":"https://api.github.com/users/SalesforceFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/SalesforceFoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":15592459,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU5MjQ1OQ==","name":"CumulusCI","full_name":"SalesforceFoundation/CumulusCI","owner":{"login":"SalesforceFoundation","id":972305,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk3MjMwNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/972305?v=4","gravatar_id":"","url":"https://api.github.com/users/SalesforceFoundation","html_url":"https://github.com/SalesforceFoundation","followers_url":"https://api.github.com/users/SalesforceFoundation/followers","following_url":"https://api.github.com/users/SalesforceFoundation/following{/other_user}","gists_url":"https://api.github.com/users/SalesforceFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/SalesforceFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalesforceFoundation/subscriptions","organizations_url":"https://api.github.com/users/SalesforceFoundation/orgs","repos_url":"https://api.github.com/users/SalesforceFoundation/repos","events_url":"https://api.github.com/users/SalesforceFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/SalesforceFoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SalesforceFoundation/CumulusCI","description":"Python framework for building portable automation for Salesforce projects","fork":false,"url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI","forks_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/forks","keys_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/teams","hooks_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/hooks","issue_events_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/issues/events{/number}","events_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/events","assignees_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/assignees{/user}","branches_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/branches{/branch}","tags_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/tags","blobs_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/git/refs{/sha}","trees_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/statuses/{sha}","languages_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/languages","stargazers_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/stargazers","contributors_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/contributors","subscribers_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/subscribers","subscription_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/subscription","commits_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/commits{/sha}","git_commits_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/git/commits{/sha}","comments_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/comments{/number}","issue_comment_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/issues/comments{/number}","contents_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/contents/{+path}","compare_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/merges","archive_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/downloads","issues_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/issues{/number}","pulls_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/pulls{/number}","milestones_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/milestones{/number}","notifications_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/labels{/name}","releases_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/releases{/id}","deployments_url":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/deployments","created_at":"2014-01-02T20:01:31Z","updated_at":"2018-08-22T19:41:25Z","pushed_at":"2018-08-24T03:50:57Z","git_url":"git://github.com/SalesforceFoundation/CumulusCI.git","ssh_url":"git@github.com:SalesforceFoundation/CumulusCI.git","clone_url":"https://github.com/SalesforceFoundation/CumulusCI.git","svn_url":"https://github.com/SalesforceFoundation/CumulusCI","homepage":"http://cumulusci.readthedocs.io","size":79467,"stargazers_count":115,"watchers_count":115,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":111,"mirror_url":null,"archived":false,"open_issues_count":90,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":111,"open_issues":90,"watchers":115,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/pulls/718"},"html":{"href":"https://github.com/SalesforceFoundation/CumulusCI/pull/718"},"issue":{"href":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/issues/718"},"comments":{"href":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/issues/718/comments"},"review_comments":{"href":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/pulls/718/comments"},"review_comment":{"href":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/pulls/718/commits"},"statuses":{"href":"https://api.github.com/repos/SalesforceFoundation/CumulusCI/statuses/c8de627cfa704b8ec4644ee1e49c34a2ede33b09"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"davisagli"}}