{"action":"created","comment":{"url":"https://api.github.com/repos/PerlDancer/advent-calendar/pulls/comments/86687809","pull_request_review_id":7334114,"id":86687809,"diff_hunk":"@@ -0,0 +1,293 @@\n+=encoding utf8\n+\n+=head1 Exception handling, error logging and user messages made easy\n+\n+=head2 Introduction\n+\n+Have you ever experienced any of the following when writing your Dancer\n+application?\n+\n+=over 1\n+\n+=item * Found that handling user errors involved writing a lot of code\n+\n+=item * Wanted to log messages from a module, without that module depending on Dancer2\n+\n+=item * Wanted flexibility on sending messages to the user, to the system, or both\n+\n+=item * Found yourself writing the same code in every application in order to send messages to a template\n+\n+=item * Wanted a clean way to handle 500 errors, whilst getting notified as the system administrator\n+\n+=back\n+\n+L<Dancer2::Plugin::LogReport> combined with L<Dancer2::Logger::LogReport>\n+are designed to do all of the above, and more.\n+Although the 2 modules can be used separately, it's recommended to use","path":"2015/9-easy-exceptions-and-logging.pod","position":26,"original_position":26,"commit_id":"d29ac48a1a191a5ccb78d821be87d1bcebc60142","original_commit_id":"d29ac48a1a191a5ccb78d821be87d1bcebc60142","user":{"login":"xsawyerx","id":54725,"avatar_url":"https://avatars.githubusercontent.com/u/54725?v=3","gravatar_id":"","url":"https://api.github.com/users/xsawyerx","html_url":"https://github.com/xsawyerx","followers_url":"https://api.github.com/users/xsawyerx/followers","following_url":"https://api.github.com/users/xsawyerx/following{/other_user}","gists_url":"https://api.github.com/users/xsawyerx/gists{/gist_id}","starred_url":"https://api.github.com/users/xsawyerx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xsawyerx/subscriptions","organizations_url":"https://api.github.com/users/xsawyerx/orgs","repos_url":"https://api.github.com/users/xsawyerx/repos","events_url":"https://api.github.com/users/xsawyerx/events{/privacy}","received_events_url":"https://api.github.com/users/xsawyerx/received_events","type":"User","site_admin":false},"body":"I don't follow this comment. Could you expand?","created_at":"2016-11-06T14:43:45Z","updated_at":"2016-11-06T14:43:45Z","html_url":"https://github.com/PerlDancer/advent-calendar/pull/29#discussion_r86687809","pull_request_url":"https://api.github.com/repos/PerlDancer/advent-calendar/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/PerlDancer/advent-calendar/pulls/comments/86687809"},"html":{"href":"https://github.com/PerlDancer/advent-calendar/pull/29#discussion_r86687809"},"pull_request":{"href":"https://api.github.com/repos/PerlDancer/advent-calendar/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/PerlDancer/advent-calendar/pulls/29","id":55912636,"html_url":"https://github.com/PerlDancer/advent-calendar/pull/29","diff_url":"https://github.com/PerlDancer/advent-calendar/pull/29.diff","patch_url":"https://github.com/PerlDancer/advent-calendar/pull/29.patch","issue_url":"https://api.github.com/repos/PerlDancer/advent-calendar/issues/29","number":29,"state":"open","locked":false,"title":"Add article about Plugin::LogReport and Logger::LogReport","user":{"login":"abeverley","id":4589486,"avatar_url":"https://avatars.githubusercontent.com/u/4589486?v=3","gravatar_id":"","url":"https://api.github.com/users/abeverley","html_url":"https://github.com/abeverley","followers_url":"https://api.github.com/users/abeverley/followers","following_url":"https://api.github.com/users/abeverley/following{/other_user}","gists_url":"https://api.github.com/users/abeverley/gists{/gist_id}","starred_url":"https://api.github.com/users/abeverley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abeverley/subscriptions","organizations_url":"https://api.github.com/users/abeverley/orgs","repos_url":"https://api.github.com/users/abeverley/repos","events_url":"https://api.github.com/users/abeverley/events{/privacy}","received_events_url":"https://api.github.com/users/abeverley/received_events","type":"User","site_admin":false},"body":"I promised I would write this and others for the advent calendar. Although that event has passed, the text will be useful for people anyway, and can maybe form part of next year's.\n","created_at":"2016-01-13T15:35:15Z","updated_at":"2016-11-06T14:43:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2545ee9e76671a07a804ee603c4ab22d455a26b3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PerlDancer/advent-calendar/pulls/29/commits","review_comments_url":"https://api.github.com/repos/PerlDancer/advent-calendar/pulls/29/comments","review_comment_url":"https://api.github.com/repos/PerlDancer/advent-calendar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PerlDancer/advent-calendar/issues/29/comments","statuses_url":"https://api.github.com/repos/PerlDancer/advent-calendar/statuses/d29ac48a1a191a5ccb78d821be87d1bcebc60142","head":{"label":"abeverley:master","ref":"master","sha":"d29ac48a1a191a5ccb78d821be87d1bcebc60142","user":{"login":"abeverley","id":4589486,"avatar_url":"https://avatars.githubusercontent.com/u/4589486?v=3","gravatar_id":"","url":"https://api.github.com/users/abeverley","html_url":"https://github.com/abeverley","followers_url":"https://api.github.com/users/abeverley/followers","following_url":"https://api.github.com/users/abeverley/following{/other_user}","gists_url":"https://api.github.com/users/abeverley/gists{/gist_id}","starred_url":"https://api.github.com/users/abeverley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abeverley/subscriptions","organizations_url":"https://api.github.com/users/abeverley/orgs","repos_url":"https://api.github.com/users/abeverley/repos","events_url":"https://api.github.com/users/abeverley/events{/privacy}","received_events_url":"https://api.github.com/users/abeverley/received_events","type":"User","site_admin":false},"repo":{"id":49564812,"name":"advent-calendar","full_name":"abeverley/advent-calendar","owner":{"login":"abeverley","id":4589486,"avatar_url":"https://avatars.githubusercontent.com/u/4589486?v=3","gravatar_id":"","url":"https://api.github.com/users/abeverley","html_url":"https://github.com/abeverley","followers_url":"https://api.github.com/users/abeverley/followers","following_url":"https://api.github.com/users/abeverley/following{/other_user}","gists_url":"https://api.github.com/users/abeverley/gists{/gist_id}","starred_url":"https://api.github.com/users/abeverley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abeverley/subscriptions","organizations_url":"https://api.github.com/users/abeverley/orgs","repos_url":"https://api.github.com/users/abeverley/repos","events_url":"https://api.github.com/users/abeverley/events{/privacy}","received_events_url":"https://api.github.com/users/abeverley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abeverley/advent-calendar","description":"Articles for the advent calendar","fork":true,"url":"https://api.github.com/repos/abeverley/advent-calendar","forks_url":"https://api.github.com/repos/abeverley/advent-calendar/forks","keys_url":"https://api.github.com/repos/abeverley/advent-calendar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abeverley/advent-calendar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abeverley/advent-calendar/teams","hooks_url":"https://api.github.com/repos/abeverley/advent-calendar/hooks","issue_events_url":"https://api.github.com/repos/abeverley/advent-calendar/issues/events{/number}","events_url":"https://api.github.com/repos/abeverley/advent-calendar/events","assignees_url":"https://api.github.com/repos/abeverley/advent-calendar/assignees{/user}","branches_url":"https://api.github.com/repos/abeverley/advent-calendar/branches{/branch}","tags_url":"https://api.github.com/repos/abeverley/advent-calendar/tags","blobs_url":"https://api.github.com/repos/abeverley/advent-calendar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abeverley/advent-calendar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abeverley/advent-calendar/git/refs{/sha}","trees_url":"https://api.github.com/repos/abeverley/advent-calendar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abeverley/advent-calendar/statuses/{sha}","languages_url":"https://api.github.com/repos/abeverley/advent-calendar/languages","stargazers_url":"https://api.github.com/repos/abeverley/advent-calendar/stargazers","contributors_url":"https://api.github.com/repos/abeverley/advent-calendar/contributors","subscribers_url":"https://api.github.com/repos/abeverley/advent-calendar/subscribers","subscription_url":"https://api.github.com/repos/abeverley/advent-calendar/subscription","commits_url":"https://api.github.com/repos/abeverley/advent-calendar/commits{/sha}","git_commits_url":"https://api.github.com/repos/abeverley/advent-calendar/git/commits{/sha}","comments_url":"https://api.github.com/repos/abeverley/advent-calendar/comments{/number}","issue_comment_url":"https://api.github.com/repos/abeverley/advent-calendar/issues/comments{/number}","contents_url":"https://api.github.com/repos/abeverley/advent-calendar/contents/{+path}","compare_url":"https://api.github.com/repos/abeverley/advent-calendar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abeverley/advent-calendar/merges","archive_url":"https://api.github.com/repos/abeverley/advent-calendar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abeverley/advent-calendar/downloads","issues_url":"https://api.github.com/repos/abeverley/advent-calendar/issues{/number}","pulls_url":"https://api.github.com/repos/abeverley/advent-calendar/pulls{/number}","milestones_url":"https://api.github.com/repos/abeverley/advent-calendar/milestones{/number}","notifications_url":"https://api.github.com/repos/abeverley/advent-calendar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abeverley/advent-calendar/labels{/name}","releases_url":"https://api.github.com/repos/abeverley/advent-calendar/releases{/id}","deployments_url":"https://api.github.com/repos/abeverley/advent-calendar/deployments","created_at":"2016-01-13T09:48:35Z","updated_at":"2016-01-13T09:48:36Z","pushed_at":"2016-10-21T14:11:29Z","git_url":"git://github.com/abeverley/advent-calendar.git","ssh_url":"git@github.com:abeverley/advent-calendar.git","clone_url":"https://github.com/abeverley/advent-calendar.git","svn_url":"https://github.com/abeverley/advent-calendar","homepage":"","size":2758,"stargazers_count":0,"watchers_count":0,"language":"Perl","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":"master"}},"base":{"label":"PerlDancer:master","ref":"master","sha":"cff9a625632421e53fe7302e3cc02a312dca60e8","user":{"login":"PerlDancer","id":409763,"avatar_url":"https://avatars.githubusercontent.com/u/409763?v=3","gravatar_id":"","url":"https://api.github.com/users/PerlDancer","html_url":"https://github.com/PerlDancer","followers_url":"https://api.github.com/users/PerlDancer/followers","following_url":"https://api.github.com/users/PerlDancer/following{/other_user}","gists_url":"https://api.github.com/users/PerlDancer/gists{/gist_id}","starred_url":"https://api.github.com/users/PerlDancer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerlDancer/subscriptions","organizations_url":"https://api.github.com/users/PerlDancer/orgs","repos_url":"https://api.github.com/users/PerlDancer/repos","events_url":"https://api.github.com/users/PerlDancer/events{/privacy}","received_events_url":"https://api.github.com/users/PerlDancer/received_events","type":"Organization","site_admin":false},"repo":{"id":978591,"name":"advent-calendar","full_name":"PerlDancer/advent-calendar","owner":{"login":"PerlDancer","id":409763,"avatar_url":"https://avatars.githubusercontent.com/u/409763?v=3","gravatar_id":"","url":"https://api.github.com/users/PerlDancer","html_url":"https://github.com/PerlDancer","followers_url":"https://api.github.com/users/PerlDancer/followers","following_url":"https://api.github.com/users/PerlDancer/following{/other_user}","gists_url":"https://api.github.com/users/PerlDancer/gists{/gist_id}","starred_url":"https://api.github.com/users/PerlDancer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerlDancer/subscriptions","organizations_url":"https://api.github.com/users/PerlDancer/orgs","repos_url":"https://api.github.com/users/PerlDancer/repos","events_url":"https://api.github.com/users/PerlDancer/events{/privacy}","received_events_url":"https://api.github.com/users/PerlDancer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PerlDancer/advent-calendar","description":"Articles for the advent calendar","fork":false,"url":"https://api.github.com/repos/PerlDancer/advent-calendar","forks_url":"https://api.github.com/repos/PerlDancer/advent-calendar/forks","keys_url":"https://api.github.com/repos/PerlDancer/advent-calendar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PerlDancer/advent-calendar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PerlDancer/advent-calendar/teams","hooks_url":"https://api.github.com/repos/PerlDancer/advent-calendar/hooks","issue_events_url":"https://api.github.com/repos/PerlDancer/advent-calendar/issues/events{/number}","events_url":"https://api.github.com/repos/PerlDancer/advent-calendar/events","assignees_url":"https://api.github.com/repos/PerlDancer/advent-calendar/assignees{/user}","branches_url":"https://api.github.com/repos/PerlDancer/advent-calendar/branches{/branch}","tags_url":"https://api.github.com/repos/PerlDancer/advent-calendar/tags","blobs_url":"https://api.github.com/repos/PerlDancer/advent-calendar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PerlDancer/advent-calendar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PerlDancer/advent-calendar/git/refs{/sha}","trees_url":"https://api.github.com/repos/PerlDancer/advent-calendar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PerlDancer/advent-calendar/statuses/{sha}","languages_url":"https://api.github.com/repos/PerlDancer/advent-calendar/languages","stargazers_url":"https://api.github.com/repos/PerlDancer/advent-calendar/stargazers","contributors_url":"https://api.github.com/repos/PerlDancer/advent-calendar/contributors","subscribers_url":"https://api.github.com/repos/PerlDancer/advent-calendar/subscribers","subscription_url":"https://api.github.com/repos/PerlDancer/advent-calendar/subscription","commits_url":"https://api.github.com/repos/PerlDancer/advent-calendar/commits{/sha}","git_commits_url":"https://api.github.com/repos/PerlDancer/advent-calendar/git/commits{/sha}","comments_url":"https://api.github.com/repos/PerlDancer/advent-calendar/comments{/number}","issue_comment_url":"https://api.github.com/repos/PerlDancer/advent-calendar/issues/comments{/number}","contents_url":"https://api.github.com/repos/PerlDancer/advent-calendar/contents/{+path}","compare_url":"https://api.github.com/repos/PerlDancer/advent-calendar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PerlDancer/advent-calendar/merges","archive_url":"https://api.github.com/repos/PerlDancer/advent-calendar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PerlDancer/advent-calendar/downloads","issues_url":"https://api.github.com/repos/PerlDancer/advent-calendar/issues{/number}","pulls_url":"https://api.github.com/repos/PerlDancer/advent-calendar/pulls{/number}","milestones_url":"https://api.github.com/repos/PerlDancer/advent-calendar/milestones{/number}","notifications_url":"https://api.github.com/repos/PerlDancer/advent-calendar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PerlDancer/advent-calendar/labels{/name}","releases_url":"https://api.github.com/repos/PerlDancer/advent-calendar/releases{/id}","deployments_url":"https://api.github.com/repos/PerlDancer/advent-calendar/deployments","created_at":"2010-10-11T13:50:04Z","updated_at":"2016-11-05T14:07:49Z","pushed_at":"2016-11-05T14:09:44Z","git_url":"git://github.com/PerlDancer/advent-calendar.git","ssh_url":"git@github.com:PerlDancer/advent-calendar.git","clone_url":"https://github.com/PerlDancer/advent-calendar.git","svn_url":"https://github.com/PerlDancer/advent-calendar","homepage":"","size":2813,"stargazers_count":30,"watchers_count":30,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":3,"forks":20,"open_issues":3,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PerlDancer/advent-calendar/pulls/29"},"html":{"href":"https://github.com/PerlDancer/advent-calendar/pull/29"},"issue":{"href":"https://api.github.com/repos/PerlDancer/advent-calendar/issues/29"},"comments":{"href":"https://api.github.com/repos/PerlDancer/advent-calendar/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/PerlDancer/advent-calendar/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/PerlDancer/advent-calendar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PerlDancer/advent-calendar/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/PerlDancer/advent-calendar/statuses/d29ac48a1a191a5ccb78d821be87d1bcebc60142"}}}}
{"actor":{"display_login":"xsawyerx"}}