{"action":"created","comment":{"url":"https://api.github.com/repos/portier/portier-broker/pulls/comments/88778413","pull_request_review_id":9344462,"id":88778413,"diff_hunk":"@@ -88,9 +91,10 @@ impl NamedKey {\n                 .insert(\"kid\", &self.id)\n                 .insert(\"alg\", \"RS256\")\n                 .build()\n-            ).unwrap();\n+            ).expect(\"unable to coerce jwt header to string\");","path":"src/crypto.rs","position":22,"original_position":22,"commit_id":"51ebf94ba90b42ef7f94bc5560f0a6e9386df010","original_commit_id":"51ebf94ba90b42ef7f94bc5560f0a6e9386df010","user":{"login":"stephank","id":89950,"avatar_url":"https://avatars.githubusercontent.com/u/89950?v=3","gravatar_id":"","url":"https://api.github.com/users/stephank","html_url":"https://github.com/stephank","followers_url":"https://api.github.com/users/stephank/followers","following_url":"https://api.github.com/users/stephank/following{/other_user}","gists_url":"https://api.github.com/users/stephank/gists{/gist_id}","starred_url":"https://api.github.com/users/stephank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephank/subscriptions","organizations_url":"https://api.github.com/users/stephank/orgs","repos_url":"https://api.github.com/users/stephank/repos","events_url":"https://api.github.com/users/stephank/events{/privacy}","received_events_url":"https://api.github.com/users/stephank/received_events","type":"User","site_admin":false},"body":"coerce *into*","created_at":"2016-11-19T12:20:42Z","updated_at":"2016-11-19T12:23:01Z","html_url":"https://github.com/portier/portier-broker/pull/105#discussion_r88778413","pull_request_url":"https://api.github.com/repos/portier/portier-broker/pulls/105","_links":{"self":{"href":"https://api.github.com/repos/portier/portier-broker/pulls/comments/88778413"},"html":{"href":"https://github.com/portier/portier-broker/pull/105#discussion_r88778413"},"pull_request":{"href":"https://api.github.com/repos/portier/portier-broker/pulls/105"}}},"pull_request":{"url":"https://api.github.com/repos/portier/portier-broker/pulls/105","id":94069275,"html_url":"https://github.com/portier/portier-broker/pull/105","diff_url":"https://github.com/portier/portier-broker/pull/105.diff","patch_url":"https://github.com/portier/portier-broker/pull/105.patch","issue_url":"https://api.github.com/repos/portier/portier-broker/issues/105","number":105,"state":"open","locked":false,"title":"Replace unwrap() with expect() or proper handling","user":{"login":"callahad","id":24193,"avatar_url":"https://avatars.githubusercontent.com/u/24193?v=3","gravatar_id":"","url":"https://api.github.com/users/callahad","html_url":"https://github.com/callahad","followers_url":"https://api.github.com/users/callahad/followers","following_url":"https://api.github.com/users/callahad/following{/other_user}","gists_url":"https://api.github.com/users/callahad/gists{/gist_id}","starred_url":"https://api.github.com/users/callahad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callahad/subscriptions","organizations_url":"https://api.github.com/users/callahad/orgs","repos_url":"https://api.github.com/users/callahad/repos","events_url":"https://api.github.com/users/callahad/events{/privacy}","received_events_url":"https://api.github.com/users/callahad/received_events","type":"User","site_admin":false},"body":"Still not perfect -- we can still panic in a bunch of places -- but at least this ensures we leave behind sane error messages.\r\n\r\nFixes #56","created_at":"2016-11-16T23:02:35Z","updated_at":"2016-11-19T12:23:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7ea692983b7a3dd892aa164d6c1b8e3cd81d529","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/portier/portier-broker/pulls/105/commits","review_comments_url":"https://api.github.com/repos/portier/portier-broker/pulls/105/comments","review_comment_url":"https://api.github.com/repos/portier/portier-broker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/portier/portier-broker/issues/105/comments","statuses_url":"https://api.github.com/repos/portier/portier-broker/statuses/51ebf94ba90b42ef7f94bc5560f0a6e9386df010","head":{"label":"portier:no-unwrap","ref":"no-unwrap","sha":"51ebf94ba90b42ef7f94bc5560f0a6e9386df010","user":{"login":"portier","id":16453528,"avatar_url":"https://avatars.githubusercontent.com/u/16453528?v=3","gravatar_id":"","url":"https://api.github.com/users/portier","html_url":"https://github.com/portier","followers_url":"https://api.github.com/users/portier/followers","following_url":"https://api.github.com/users/portier/following{/other_user}","gists_url":"https://api.github.com/users/portier/gists{/gist_id}","starred_url":"https://api.github.com/users/portier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/portier/subscriptions","organizations_url":"https://api.github.com/users/portier/orgs","repos_url":"https://api.github.com/users/portier/repos","events_url":"https://api.github.com/users/portier/events{/privacy}","received_events_url":"https://api.github.com/users/portier/received_events","type":"Organization","site_admin":false},"repo":{"id":59147712,"name":"portier-broker","full_name":"portier/portier-broker","owner":{"login":"portier","id":16453528,"avatar_url":"https://avatars.githubusercontent.com/u/16453528?v=3","gravatar_id":"","url":"https://api.github.com/users/portier","html_url":"https://github.com/portier","followers_url":"https://api.github.com/users/portier/followers","following_url":"https://api.github.com/users/portier/following{/other_user}","gists_url":"https://api.github.com/users/portier/gists{/gist_id}","starred_url":"https://api.github.com/users/portier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/portier/subscriptions","organizations_url":"https://api.github.com/users/portier/orgs","repos_url":"https://api.github.com/users/portier/repos","events_url":"https://api.github.com/users/portier/events{/privacy}","received_events_url":"https://api.github.com/users/portier/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/portier/portier-broker","description":"Portier Broker reference implementation, written in Rust","fork":false,"url":"https://api.github.com/repos/portier/portier-broker","forks_url":"https://api.github.com/repos/portier/portier-broker/forks","keys_url":"https://api.github.com/repos/portier/portier-broker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/portier/portier-broker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/portier/portier-broker/teams","hooks_url":"https://api.github.com/repos/portier/portier-broker/hooks","issue_events_url":"https://api.github.com/repos/portier/portier-broker/issues/events{/number}","events_url":"https://api.github.com/repos/portier/portier-broker/events","assignees_url":"https://api.github.com/repos/portier/portier-broker/assignees{/user}","branches_url":"https://api.github.com/repos/portier/portier-broker/branches{/branch}","tags_url":"https://api.github.com/repos/portier/portier-broker/tags","blobs_url":"https://api.github.com/repos/portier/portier-broker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/portier/portier-broker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/portier/portier-broker/git/refs{/sha}","trees_url":"https://api.github.com/repos/portier/portier-broker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/portier/portier-broker/statuses/{sha}","languages_url":"https://api.github.com/repos/portier/portier-broker/languages","stargazers_url":"https://api.github.com/repos/portier/portier-broker/stargazers","contributors_url":"https://api.github.com/repos/portier/portier-broker/contributors","subscribers_url":"https://api.github.com/repos/portier/portier-broker/subscribers","subscription_url":"https://api.github.com/repos/portier/portier-broker/subscription","commits_url":"https://api.github.com/repos/portier/portier-broker/commits{/sha}","git_commits_url":"https://api.github.com/repos/portier/portier-broker/git/commits{/sha}","comments_url":"https://api.github.com/repos/portier/portier-broker/comments{/number}","issue_comment_url":"https://api.github.com/repos/portier/portier-broker/issues/comments{/number}","contents_url":"https://api.github.com/repos/portier/portier-broker/contents/{+path}","compare_url":"https://api.github.com/repos/portier/portier-broker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/portier/portier-broker/merges","archive_url":"https://api.github.com/repos/portier/portier-broker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/portier/portier-broker/downloads","issues_url":"https://api.github.com/repos/portier/portier-broker/issues{/number}","pulls_url":"https://api.github.com/repos/portier/portier-broker/pulls{/number}","milestones_url":"https://api.github.com/repos/portier/portier-broker/milestones{/number}","notifications_url":"https://api.github.com/repos/portier/portier-broker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/portier/portier-broker/labels{/name}","releases_url":"https://api.github.com/repos/portier/portier-broker/releases{/id}","deployments_url":"https://api.github.com/repos/portier/portier-broker/deployments","created_at":"2016-05-18T20:10:35Z","updated_at":"2016-11-18T18:19:11Z","pushed_at":"2016-11-19T11:58:04Z","git_url":"git://github.com/portier/portier-broker.git","ssh_url":"git@github.com:portier/portier-broker.git","clone_url":"https://github.com/portier/portier-broker.git","svn_url":"https://github.com/portier/portier-broker","homepage":"http://portier.github.io/","size":370,"stargazers_count":222,"watchers_count":222,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":26,"forks":3,"open_issues":26,"watchers":222,"default_branch":"master"}},"base":{"label":"portier:master","ref":"master","sha":"08bf870a941e66faff483efbba9509eb7a620620","user":{"login":"portier","id":16453528,"avatar_url":"https://avatars.githubusercontent.com/u/16453528?v=3","gravatar_id":"","url":"https://api.github.com/users/portier","html_url":"https://github.com/portier","followers_url":"https://api.github.com/users/portier/followers","following_url":"https://api.github.com/users/portier/following{/other_user}","gists_url":"https://api.github.com/users/portier/gists{/gist_id}","starred_url":"https://api.github.com/users/portier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/portier/subscriptions","organizations_url":"https://api.github.com/users/portier/orgs","repos_url":"https://api.github.com/users/portier/repos","events_url":"https://api.github.com/users/portier/events{/privacy}","received_events_url":"https://api.github.com/users/portier/received_events","type":"Organization","site_admin":false},"repo":{"id":59147712,"name":"portier-broker","full_name":"portier/portier-broker","owner":{"login":"portier","id":16453528,"avatar_url":"https://avatars.githubusercontent.com/u/16453528?v=3","gravatar_id":"","url":"https://api.github.com/users/portier","html_url":"https://github.com/portier","followers_url":"https://api.github.com/users/portier/followers","following_url":"https://api.github.com/users/portier/following{/other_user}","gists_url":"https://api.github.com/users/portier/gists{/gist_id}","starred_url":"https://api.github.com/users/portier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/portier/subscriptions","organizations_url":"https://api.github.com/users/portier/orgs","repos_url":"https://api.github.com/users/portier/repos","events_url":"https://api.github.com/users/portier/events{/privacy}","received_events_url":"https://api.github.com/users/portier/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/portier/portier-broker","description":"Portier Broker reference implementation, written in Rust","fork":false,"url":"https://api.github.com/repos/portier/portier-broker","forks_url":"https://api.github.com/repos/portier/portier-broker/forks","keys_url":"https://api.github.com/repos/portier/portier-broker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/portier/portier-broker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/portier/portier-broker/teams","hooks_url":"https://api.github.com/repos/portier/portier-broker/hooks","issue_events_url":"https://api.github.com/repos/portier/portier-broker/issues/events{/number}","events_url":"https://api.github.com/repos/portier/portier-broker/events","assignees_url":"https://api.github.com/repos/portier/portier-broker/assignees{/user}","branches_url":"https://api.github.com/repos/portier/portier-broker/branches{/branch}","tags_url":"https://api.github.com/repos/portier/portier-broker/tags","blobs_url":"https://api.github.com/repos/portier/portier-broker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/portier/portier-broker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/portier/portier-broker/git/refs{/sha}","trees_url":"https://api.github.com/repos/portier/portier-broker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/portier/portier-broker/statuses/{sha}","languages_url":"https://api.github.com/repos/portier/portier-broker/languages","stargazers_url":"https://api.github.com/repos/portier/portier-broker/stargazers","contributors_url":"https://api.github.com/repos/portier/portier-broker/contributors","subscribers_url":"https://api.github.com/repos/portier/portier-broker/subscribers","subscription_url":"https://api.github.com/repos/portier/portier-broker/subscription","commits_url":"https://api.github.com/repos/portier/portier-broker/commits{/sha}","git_commits_url":"https://api.github.com/repos/portier/portier-broker/git/commits{/sha}","comments_url":"https://api.github.com/repos/portier/portier-broker/comments{/number}","issue_comment_url":"https://api.github.com/repos/portier/portier-broker/issues/comments{/number}","contents_url":"https://api.github.com/repos/portier/portier-broker/contents/{+path}","compare_url":"https://api.github.com/repos/portier/portier-broker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/portier/portier-broker/merges","archive_url":"https://api.github.com/repos/portier/portier-broker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/portier/portier-broker/downloads","issues_url":"https://api.github.com/repos/portier/portier-broker/issues{/number}","pulls_url":"https://api.github.com/repos/portier/portier-broker/pulls{/number}","milestones_url":"https://api.github.com/repos/portier/portier-broker/milestones{/number}","notifications_url":"https://api.github.com/repos/portier/portier-broker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/portier/portier-broker/labels{/name}","releases_url":"https://api.github.com/repos/portier/portier-broker/releases{/id}","deployments_url":"https://api.github.com/repos/portier/portier-broker/deployments","created_at":"2016-05-18T20:10:35Z","updated_at":"2016-11-18T18:19:11Z","pushed_at":"2016-11-19T11:58:04Z","git_url":"git://github.com/portier/portier-broker.git","ssh_url":"git@github.com:portier/portier-broker.git","clone_url":"https://github.com/portier/portier-broker.git","svn_url":"https://github.com/portier/portier-broker","homepage":"http://portier.github.io/","size":370,"stargazers_count":222,"watchers_count":222,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":26,"forks":3,"open_issues":26,"watchers":222,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/portier/portier-broker/pulls/105"},"html":{"href":"https://github.com/portier/portier-broker/pull/105"},"issue":{"href":"https://api.github.com/repos/portier/portier-broker/issues/105"},"comments":{"href":"https://api.github.com/repos/portier/portier-broker/issues/105/comments"},"review_comments":{"href":"https://api.github.com/repos/portier/portier-broker/pulls/105/comments"},"review_comment":{"href":"https://api.github.com/repos/portier/portier-broker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/portier/portier-broker/pulls/105/commits"},"statuses":{"href":"https://api.github.com/repos/portier/portier-broker/statuses/51ebf94ba90b42ef7f94bc5560f0a6e9386df010"}}}}
{"actor":{"display_login":"stephank"}}