{"action":"created","comment":{"url":"https://api.github.com/repos/certbot/certbot/pulls/comments/64979592","id":64979592,"diff_hunk":"@@ -623,7 +623,11 @@ def _handle_exception(exc_type, exc_value, trace, config):\n             # Here we're passing a client or ACME error out to the client at the shell\n             # Tell the user a bit about what happened, without overwhelming\n             # them with a full traceback\n-            err = traceback.format_exception_only(exc_type, exc_value)[0]\n+            from dialog import DialogError\n+            if issubclass(exc_type, DialogError):","path":"certbot/main.py","position":6,"original_position":6,"commit_id":"d1e9ffbe9a0f151ff4566d0c6a1b608d8335df47","original_commit_id":"d1e9ffbe9a0f151ff4566d0c6a1b608d8335df47","user":{"login":"bmw","id":6504915,"avatar_url":"https://avatars.githubusercontent.com/u/6504915?v=3","gravatar_id":"","url":"https://api.github.com/users/bmw","html_url":"https://github.com/bmw","followers_url":"https://api.github.com/users/bmw/followers","following_url":"https://api.github.com/users/bmw/following{/other_user}","gists_url":"https://api.github.com/users/bmw/gists{/gist_id}","starred_url":"https://api.github.com/users/bmw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmw/subscriptions","organizations_url":"https://api.github.com/users/bmw/orgs","repos_url":"https://api.github.com/users/bmw/repos","events_url":"https://api.github.com/users/bmw/events{/privacy}","received_events_url":"https://api.github.com/users/bmw/received_events","type":"User","site_admin":false},"body":"You should use `dialog.error` here. Dialog throws other error messages as well, which also have this problem.","created_at":"2016-05-28T00:07:18Z","updated_at":"2016-05-28T00:07:18Z","html_url":"https://github.com/certbot/certbot/pull/3068#discussion_r64979592","pull_request_url":"https://api.github.com/repos/certbot/certbot/pulls/3068","_links":{"self":{"href":"https://api.github.com/repos/certbot/certbot/pulls/comments/64979592"},"html":{"href":"https://github.com/certbot/certbot/pull/3068#discussion_r64979592"},"pull_request":{"href":"https://api.github.com/repos/certbot/certbot/pulls/3068"}}},"pull_request":{"url":"https://api.github.com/repos/certbot/certbot/pulls/3068","id":71441297,"html_url":"https://github.com/certbot/certbot/pull/3068","diff_url":"https://github.com/certbot/certbot/pull/3068.diff","patch_url":"https://github.com/certbot/certbot/pull/3068.patch","issue_url":"https://api.github.com/repos/certbot/certbot/issues/3068","number":3068,"state":"open","locked":false,"title":"Display DialogError details correctly","user":{"login":"TheNavigat","id":4323539,"avatar_url":"https://avatars.githubusercontent.com/u/4323539?v=3","gravatar_id":"","url":"https://api.github.com/users/TheNavigat","html_url":"https://github.com/TheNavigat","followers_url":"https://api.github.com/users/TheNavigat/followers","following_url":"https://api.github.com/users/TheNavigat/following{/other_user}","gists_url":"https://api.github.com/users/TheNavigat/gists{/gist_id}","starred_url":"https://api.github.com/users/TheNavigat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheNavigat/subscriptions","organizations_url":"https://api.github.com/users/TheNavigat/orgs","repos_url":"https://api.github.com/users/TheNavigat/repos","events_url":"https://api.github.com/users/TheNavigat/events{/privacy}","received_events_url":"https://api.github.com/users/TheNavigat/received_events","type":"User","site_admin":false},"body":"Closes #2813 \r\n\r\nReference:\r\nhttp://pythondialog.sourceforge.net/doc/_modules/dialog.html#error","created_at":"2016-05-25T18:35:27Z","updated_at":"2016-05-28T00:07:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"43ad6423b68017a37aed002afc112e687e0c277b","assignee":null,"milestone":{"url":"https://api.github.com/repos/certbot/certbot/milestones/21","html_url":"https://github.com/certbot/certbot/milestones/0.8.0","labels_url":"https://api.github.com/repos/certbot/certbot/milestones/21/labels","id":1770201,"number":21,"title":"0.8.0","description":"Nginx plugin","creator":{"login":"bmw","id":6504915,"avatar_url":"https://avatars.githubusercontent.com/u/6504915?v=3","gravatar_id":"","url":"https://api.github.com/users/bmw","html_url":"https://github.com/bmw","followers_url":"https://api.github.com/users/bmw/followers","following_url":"https://api.github.com/users/bmw/following{/other_user}","gists_url":"https://api.github.com/users/bmw/gists{/gist_id}","starred_url":"https://api.github.com/users/bmw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmw/subscriptions","organizations_url":"https://api.github.com/users/bmw/orgs","repos_url":"https://api.github.com/users/bmw/repos","events_url":"https://api.github.com/users/bmw/events{/privacy}","received_events_url":"https://api.github.com/users/bmw/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":4,"state":"open","created_at":"2016-05-17T01:06:36Z","updated_at":"2016-05-27T21:41:17Z","due_on":"2016-06-14T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/certbot/certbot/pulls/3068/commits","review_comments_url":"https://api.github.com/repos/certbot/certbot/pulls/3068/comments","review_comment_url":"https://api.github.com/repos/certbot/certbot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/certbot/certbot/issues/3068/comments","statuses_url":"https://api.github.com/repos/certbot/certbot/statuses/d1e9ffbe9a0f151ff4566d0c6a1b608d8335df47","head":{"label":"TheNavigat:dialogerror","ref":"dialogerror","sha":"d1e9ffbe9a0f151ff4566d0c6a1b608d8335df47","user":{"login":"TheNavigat","id":4323539,"avatar_url":"https://avatars.githubusercontent.com/u/4323539?v=3","gravatar_id":"","url":"https://api.github.com/users/TheNavigat","html_url":"https://github.com/TheNavigat","followers_url":"https://api.github.com/users/TheNavigat/followers","following_url":"https://api.github.com/users/TheNavigat/following{/other_user}","gists_url":"https://api.github.com/users/TheNavigat/gists{/gist_id}","starred_url":"https://api.github.com/users/TheNavigat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheNavigat/subscriptions","organizations_url":"https://api.github.com/users/TheNavigat/orgs","repos_url":"https://api.github.com/users/TheNavigat/repos","events_url":"https://api.github.com/users/TheNavigat/events{/privacy}","received_events_url":"https://api.github.com/users/TheNavigat/received_events","type":"User","site_admin":false},"repo":{"id":45170547,"name":"letsencrypt","full_name":"TheNavigat/letsencrypt","owner":{"login":"TheNavigat","id":4323539,"avatar_url":"https://avatars.githubusercontent.com/u/4323539?v=3","gravatar_id":"","url":"https://api.github.com/users/TheNavigat","html_url":"https://github.com/TheNavigat","followers_url":"https://api.github.com/users/TheNavigat/followers","following_url":"https://api.github.com/users/TheNavigat/following{/other_user}","gists_url":"https://api.github.com/users/TheNavigat/gists{/gist_id}","starred_url":"https://api.github.com/users/TheNavigat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheNavigat/subscriptions","organizations_url":"https://api.github.com/users/TheNavigat/orgs","repos_url":"https://api.github.com/users/TheNavigat/repos","events_url":"https://api.github.com/users/TheNavigat/events{/privacy}","received_events_url":"https://api.github.com/users/TheNavigat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheNavigat/letsencrypt","description":"An ACME client that can obtain certs and extensibly update server configurations (currently supports Apache on .deb based systems, nginx support coming soon)","fork":true,"url":"https://api.github.com/repos/TheNavigat/letsencrypt","forks_url":"https://api.github.com/repos/TheNavigat/letsencrypt/forks","keys_url":"https://api.github.com/repos/TheNavigat/letsencrypt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheNavigat/letsencrypt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheNavigat/letsencrypt/teams","hooks_url":"https://api.github.com/repos/TheNavigat/letsencrypt/hooks","issue_events_url":"https://api.github.com/repos/TheNavigat/letsencrypt/issues/events{/number}","events_url":"https://api.github.com/repos/TheNavigat/letsencrypt/events","assignees_url":"https://api.github.com/repos/TheNavigat/letsencrypt/assignees{/user}","branches_url":"https://api.github.com/repos/TheNavigat/letsencrypt/branches{/branch}","tags_url":"https://api.github.com/repos/TheNavigat/letsencrypt/tags","blobs_url":"https://api.github.com/repos/TheNavigat/letsencrypt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheNavigat/letsencrypt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheNavigat/letsencrypt/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheNavigat/letsencrypt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheNavigat/letsencrypt/statuses/{sha}","languages_url":"https://api.github.com/repos/TheNavigat/letsencrypt/languages","stargazers_url":"https://api.github.com/repos/TheNavigat/letsencrypt/stargazers","contributors_url":"https://api.github.com/repos/TheNavigat/letsencrypt/contributors","subscribers_url":"https://api.github.com/repos/TheNavigat/letsencrypt/subscribers","subscription_url":"https://api.github.com/repos/TheNavigat/letsencrypt/subscription","commits_url":"https://api.github.com/repos/TheNavigat/letsencrypt/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheNavigat/letsencrypt/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheNavigat/letsencrypt/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheNavigat/letsencrypt/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheNavigat/letsencrypt/contents/{+path}","compare_url":"https://api.github.com/repos/TheNavigat/letsencrypt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheNavigat/letsencrypt/merges","archive_url":"https://api.github.com/repos/TheNavigat/letsencrypt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheNavigat/letsencrypt/downloads","issues_url":"https://api.github.com/repos/TheNavigat/letsencrypt/issues{/number}","pulls_url":"https://api.github.com/repos/TheNavigat/letsencrypt/pulls{/number}","milestones_url":"https://api.github.com/repos/TheNavigat/letsencrypt/milestones{/number}","notifications_url":"https://api.github.com/repos/TheNavigat/letsencrypt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheNavigat/letsencrypt/labels{/name}","releases_url":"https://api.github.com/repos/TheNavigat/letsencrypt/releases{/id}","deployments_url":"https://api.github.com/repos/TheNavigat/letsencrypt/deployments","created_at":"2015-10-29T08:38:01Z","updated_at":"2016-01-11T18:43:10Z","pushed_at":"2016-05-28T00:04:01Z","git_url":"git://github.com/TheNavigat/letsencrypt.git","ssh_url":"git@github.com:TheNavigat/letsencrypt.git","clone_url":"https://github.com/TheNavigat/letsencrypt.git","svn_url":"https://github.com/TheNavigat/letsencrypt","homepage":"","size":9831,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"certbot:master","ref":"master","sha":"5f1ead81cb89ae13f45622139419957a2404baa2","user":{"login":"certbot","id":17889013,"avatar_url":"https://avatars.githubusercontent.com/u/17889013?v=3","gravatar_id":"","url":"https://api.github.com/users/certbot","html_url":"https://github.com/certbot","followers_url":"https://api.github.com/users/certbot/followers","following_url":"https://api.github.com/users/certbot/following{/other_user}","gists_url":"https://api.github.com/users/certbot/gists{/gist_id}","starred_url":"https://api.github.com/users/certbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/certbot/subscriptions","organizations_url":"https://api.github.com/users/certbot/orgs","repos_url":"https://api.github.com/users/certbot/repos","events_url":"https://api.github.com/users/certbot/events{/privacy}","received_events_url":"https://api.github.com/users/certbot/received_events","type":"Organization","site_admin":false},"repo":{"id":26516210,"name":"certbot","full_name":"certbot/certbot","owner":{"login":"certbot","id":17889013,"avatar_url":"https://avatars.githubusercontent.com/u/17889013?v=3","gravatar_id":"","url":"https://api.github.com/users/certbot","html_url":"https://github.com/certbot","followers_url":"https://api.github.com/users/certbot/followers","following_url":"https://api.github.com/users/certbot/following{/other_user}","gists_url":"https://api.github.com/users/certbot/gists{/gist_id}","starred_url":"https://api.github.com/users/certbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/certbot/subscriptions","organizations_url":"https://api.github.com/users/certbot/orgs","repos_url":"https://api.github.com/users/certbot/repos","events_url":"https://api.github.com/users/certbot/events{/privacy}","received_events_url":"https://api.github.com/users/certbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/certbot/certbot","description":"Certbot, previously the Let's Encrypt Client, is EFF's tool to obtain certs from Let's Encrypt, and (optionally) auto-enable HTTPS on your server.  It can also act as a client for any other CA that uses the ACME protocol.","fork":false,"url":"https://api.github.com/repos/certbot/certbot","forks_url":"https://api.github.com/repos/certbot/certbot/forks","keys_url":"https://api.github.com/repos/certbot/certbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/certbot/certbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/certbot/certbot/teams","hooks_url":"https://api.github.com/repos/certbot/certbot/hooks","issue_events_url":"https://api.github.com/repos/certbot/certbot/issues/events{/number}","events_url":"https://api.github.com/repos/certbot/certbot/events","assignees_url":"https://api.github.com/repos/certbot/certbot/assignees{/user}","branches_url":"https://api.github.com/repos/certbot/certbot/branches{/branch}","tags_url":"https://api.github.com/repos/certbot/certbot/tags","blobs_url":"https://api.github.com/repos/certbot/certbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/certbot/certbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/certbot/certbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/certbot/certbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/certbot/certbot/statuses/{sha}","languages_url":"https://api.github.com/repos/certbot/certbot/languages","stargazers_url":"https://api.github.com/repos/certbot/certbot/stargazers","contributors_url":"https://api.github.com/repos/certbot/certbot/contributors","subscribers_url":"https://api.github.com/repos/certbot/certbot/subscribers","subscription_url":"https://api.github.com/repos/certbot/certbot/subscription","commits_url":"https://api.github.com/repos/certbot/certbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/certbot/certbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/certbot/certbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/certbot/certbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/certbot/certbot/contents/{+path}","compare_url":"https://api.github.com/repos/certbot/certbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/certbot/certbot/merges","archive_url":"https://api.github.com/repos/certbot/certbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/certbot/certbot/downloads","issues_url":"https://api.github.com/repos/certbot/certbot/issues{/number}","pulls_url":"https://api.github.com/repos/certbot/certbot/pulls{/number}","milestones_url":"https://api.github.com/repos/certbot/certbot/milestones{/number}","notifications_url":"https://api.github.com/repos/certbot/certbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/certbot/certbot/labels{/name}","releases_url":"https://api.github.com/repos/certbot/certbot/releases{/id}","deployments_url":"https://api.github.com/repos/certbot/certbot/deployments","created_at":"2014-11-12T02:52:20Z","updated_at":"2016-05-27T21:36:50Z","pushed_at":"2016-05-28T00:04:02Z","git_url":"git://github.com/certbot/certbot.git","ssh_url":"git@github.com:certbot/certbot.git","clone_url":"https://github.com/certbot/certbot.git","svn_url":"https://github.com/certbot/certbot","homepage":"","size":21316,"stargazers_count":15136,"watchers_count":15136,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1197,"mirror_url":null,"open_issues_count":621,"forks":1197,"open_issues":621,"watchers":15136,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/certbot/certbot/pulls/3068"},"html":{"href":"https://github.com/certbot/certbot/pull/3068"},"issue":{"href":"https://api.github.com/repos/certbot/certbot/issues/3068"},"comments":{"href":"https://api.github.com/repos/certbot/certbot/issues/3068/comments"},"review_comments":{"href":"https://api.github.com/repos/certbot/certbot/pulls/3068/comments"},"review_comment":{"href":"https://api.github.com/repos/certbot/certbot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/certbot/certbot/pulls/3068/commits"},"statuses":{"href":"https://api.github.com/repos/certbot/certbot/statuses/d1e9ffbe9a0f151ff4566d0c6a1b608d8335df47"}}}}
{"actor":{"display_login":"bmw"}}