{"action":"created","comment":{"url":"https://api.github.com/repos/socialchorus/superbolt/pulls/comments/38043827","id":38043827,"diff_hunk":"@@ -1,7 +1,13 @@\n # assumes an environment task that sets up your app environment\n desc \"worker that reads the queue and sends messages through the router as configured\"\n task :superbolt => :environment do\n-  Superbolt::App.new(Superbolt.app_name, {}).run do |message, logger|\n-    Superbolt::Router.new(message, logger).perform\n+  begin\n+    Superbolt::App.new(Superbolt.app_name, {}).run do |message, logger|\n+      Superbolt::Router.new(message, logger).perform\n+    end\n+  # Rescue SignalException so that we don't spam error handlers like Airbrake\n+  # with SIGTERM errors every time a task is killed (Heroku dyno restarts, etc.)\n+  rescue SignalException => e","path":"lib/tasks/superbolt.rake","position":12,"original_position":12,"commit_id":"98f09b99761a75389a4f95eebf1b72480dfc958a","original_commit_id":"98f09b99761a75389a4f95eebf1b72480dfc958a","user":{"login":"aridlehoover","id":982409,"avatar_url":"https://avatars.githubusercontent.com/u/982409?v=3","gravatar_id":"","url":"https://api.github.com/users/aridlehoover","html_url":"https://github.com/aridlehoover","followers_url":"https://api.github.com/users/aridlehoover/followers","following_url":"https://api.github.com/users/aridlehoover/following{/other_user}","gists_url":"https://api.github.com/users/aridlehoover/gists{/gist_id}","starred_url":"https://api.github.com/users/aridlehoover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aridlehoover/subscriptions","organizations_url":"https://api.github.com/users/aridlehoover/orgs","repos_url":"https://api.github.com/users/aridlehoover/repos","events_url":"https://api.github.com/users/aridlehoover/events{/privacy}","received_events_url":"https://api.github.com/users/aridlehoover/received_events","type":"User","site_admin":false},"body":"Is this a fix for a short-term problem? What exceptions do we anticipate seeing on AWS?","created_at":"2015-08-26T22:36:03Z","updated_at":"2015-08-26T22:36:03Z","html_url":"https://github.com/socialchorus/superbolt/pull/7#discussion_r38043827","pull_request_url":"https://api.github.com/repos/socialchorus/superbolt/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/socialchorus/superbolt/pulls/comments/38043827"},"html":{"href":"https://github.com/socialchorus/superbolt/pull/7#discussion_r38043827"},"pull_request":{"href":"https://api.github.com/repos/socialchorus/superbolt/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/socialchorus/superbolt/pulls/7","id":43454632,"html_url":"https://github.com/socialchorus/superbolt/pull/7","diff_url":"https://github.com/socialchorus/superbolt/pull/7.diff","patch_url":"https://github.com/socialchorus/superbolt/pull/7.patch","issue_url":"https://api.github.com/repos/socialchorus/superbolt/issues/7","number":7,"state":"open","locked":false,"title":"[FLY-18] Rescue SignalExceptions in superbolt rake task","user":{"login":"hbriggs","id":4731354,"avatar_url":"https://avatars.githubusercontent.com/u/4731354?v=3","gravatar_id":"","url":"https://api.github.com/users/hbriggs","html_url":"https://github.com/hbriggs","followers_url":"https://api.github.com/users/hbriggs/followers","following_url":"https://api.github.com/users/hbriggs/following{/other_user}","gists_url":"https://api.github.com/users/hbriggs/gists{/gist_id}","starred_url":"https://api.github.com/users/hbriggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbriggs/subscriptions","organizations_url":"https://api.github.com/users/hbriggs/orgs","repos_url":"https://api.github.com/users/hbriggs/repos","events_url":"https://api.github.com/users/hbriggs/events{/privacy}","received_events_url":"https://api.github.com/users/hbriggs/received_events","type":"User","site_admin":false},"body":"[Ticket](https://socialcoders.atlassian.net/browse/FLY-18)\r\nThis is a solution to the Airbrake spam we are getting from Heroku dyno restarts.\r\n","created_at":"2015-08-26T21:31:23Z","updated_at":"2015-08-26T22:36:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"90f9ed6a46a102a4b03c2d2b2d7a4eae9d4f296d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/socialchorus/superbolt/pulls/7/commits","review_comments_url":"https://api.github.com/repos/socialchorus/superbolt/pulls/7/comments","review_comment_url":"https://api.github.com/repos/socialchorus/superbolt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/socialchorus/superbolt/issues/7/comments","statuses_url":"https://api.github.com/repos/socialchorus/superbolt/statuses/98f09b99761a75389a4f95eebf1b72480dfc958a","head":{"label":"socialchorus:feature/FLY-18","ref":"feature/FLY-18","sha":"98f09b99761a75389a4f95eebf1b72480dfc958a","user":{"login":"socialchorus","id":36437,"avatar_url":"https://avatars.githubusercontent.com/u/36437?v=3","gravatar_id":"","url":"https://api.github.com/users/socialchorus","html_url":"https://github.com/socialchorus","followers_url":"https://api.github.com/users/socialchorus/followers","following_url":"https://api.github.com/users/socialchorus/following{/other_user}","gists_url":"https://api.github.com/users/socialchorus/gists{/gist_id}","starred_url":"https://api.github.com/users/socialchorus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/socialchorus/subscriptions","organizations_url":"https://api.github.com/users/socialchorus/orgs","repos_url":"https://api.github.com/users/socialchorus/repos","events_url":"https://api.github.com/users/socialchorus/events{/privacy}","received_events_url":"https://api.github.com/users/socialchorus/received_events","type":"Organization","site_admin":false},"repo":{"id":11303309,"name":"superbolt","full_name":"socialchorus/superbolt","owner":{"login":"socialchorus","id":36437,"avatar_url":"https://avatars.githubusercontent.com/u/36437?v=3","gravatar_id":"","url":"https://api.github.com/users/socialchorus","html_url":"https://github.com/socialchorus","followers_url":"https://api.github.com/users/socialchorus/followers","following_url":"https://api.github.com/users/socialchorus/following{/other_user}","gists_url":"https://api.github.com/users/socialchorus/gists{/gist_id}","starred_url":"https://api.github.com/users/socialchorus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/socialchorus/subscriptions","organizations_url":"https://api.github.com/users/socialchorus/orgs","repos_url":"https://api.github.com/users/socialchorus/repos","events_url":"https://api.github.com/users/socialchorus/events{/privacy}","received_events_url":"https://api.github.com/users/socialchorus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/socialchorus/superbolt","description":"","fork":false,"url":"https://api.github.com/repos/socialchorus/superbolt","forks_url":"https://api.github.com/repos/socialchorus/superbolt/forks","keys_url":"https://api.github.com/repos/socialchorus/superbolt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/socialchorus/superbolt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/socialchorus/superbolt/teams","hooks_url":"https://api.github.com/repos/socialchorus/superbolt/hooks","issue_events_url":"https://api.github.com/repos/socialchorus/superbolt/issues/events{/number}","events_url":"https://api.github.com/repos/socialchorus/superbolt/events","assignees_url":"https://api.github.com/repos/socialchorus/superbolt/assignees{/user}","branches_url":"https://api.github.com/repos/socialchorus/superbolt/branches{/branch}","tags_url":"https://api.github.com/repos/socialchorus/superbolt/tags","blobs_url":"https://api.github.com/repos/socialchorus/superbolt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/socialchorus/superbolt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/socialchorus/superbolt/git/refs{/sha}","trees_url":"https://api.github.com/repos/socialchorus/superbolt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/socialchorus/superbolt/statuses/{sha}","languages_url":"https://api.github.com/repos/socialchorus/superbolt/languages","stargazers_url":"https://api.github.com/repos/socialchorus/superbolt/stargazers","contributors_url":"https://api.github.com/repos/socialchorus/superbolt/contributors","subscribers_url":"https://api.github.com/repos/socialchorus/superbolt/subscribers","subscription_url":"https://api.github.com/repos/socialchorus/superbolt/subscription","commits_url":"https://api.github.com/repos/socialchorus/superbolt/commits{/sha}","git_commits_url":"https://api.github.com/repos/socialchorus/superbolt/git/commits{/sha}","comments_url":"https://api.github.com/repos/socialchorus/superbolt/comments{/number}","issue_comment_url":"https://api.github.com/repos/socialchorus/superbolt/issues/comments{/number}","contents_url":"https://api.github.com/repos/socialchorus/superbolt/contents/{+path}","compare_url":"https://api.github.com/repos/socialchorus/superbolt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/socialchorus/superbolt/merges","archive_url":"https://api.github.com/repos/socialchorus/superbolt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/socialchorus/superbolt/downloads","issues_url":"https://api.github.com/repos/socialchorus/superbolt/issues{/number}","pulls_url":"https://api.github.com/repos/socialchorus/superbolt/pulls{/number}","milestones_url":"https://api.github.com/repos/socialchorus/superbolt/milestones{/number}","notifications_url":"https://api.github.com/repos/socialchorus/superbolt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/socialchorus/superbolt/labels{/name}","releases_url":"https://api.github.com/repos/socialchorus/superbolt/releases{/id}","created_at":"2013-07-10T05:33:13Z","updated_at":"2015-01-27T18:34:30Z","pushed_at":"2015-08-26T22:24:16Z","git_url":"git://github.com/socialchorus/superbolt.git","ssh_url":"git@github.com:socialchorus/superbolt.git","clone_url":"https://github.com/socialchorus/superbolt.git","svn_url":"https://github.com/socialchorus/superbolt","homepage":"","size":800,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"base":{"label":"socialchorus:develop","ref":"develop","sha":"98ff4a49a696f9f6a145299d64a665b035ac90a5","user":{"login":"socialchorus","id":36437,"avatar_url":"https://avatars.githubusercontent.com/u/36437?v=3","gravatar_id":"","url":"https://api.github.com/users/socialchorus","html_url":"https://github.com/socialchorus","followers_url":"https://api.github.com/users/socialchorus/followers","following_url":"https://api.github.com/users/socialchorus/following{/other_user}","gists_url":"https://api.github.com/users/socialchorus/gists{/gist_id}","starred_url":"https://api.github.com/users/socialchorus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/socialchorus/subscriptions","organizations_url":"https://api.github.com/users/socialchorus/orgs","repos_url":"https://api.github.com/users/socialchorus/repos","events_url":"https://api.github.com/users/socialchorus/events{/privacy}","received_events_url":"https://api.github.com/users/socialchorus/received_events","type":"Organization","site_admin":false},"repo":{"id":11303309,"name":"superbolt","full_name":"socialchorus/superbolt","owner":{"login":"socialchorus","id":36437,"avatar_url":"https://avatars.githubusercontent.com/u/36437?v=3","gravatar_id":"","url":"https://api.github.com/users/socialchorus","html_url":"https://github.com/socialchorus","followers_url":"https://api.github.com/users/socialchorus/followers","following_url":"https://api.github.com/users/socialchorus/following{/other_user}","gists_url":"https://api.github.com/users/socialchorus/gists{/gist_id}","starred_url":"https://api.github.com/users/socialchorus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/socialchorus/subscriptions","organizations_url":"https://api.github.com/users/socialchorus/orgs","repos_url":"https://api.github.com/users/socialchorus/repos","events_url":"https://api.github.com/users/socialchorus/events{/privacy}","received_events_url":"https://api.github.com/users/socialchorus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/socialchorus/superbolt","description":"","fork":false,"url":"https://api.github.com/repos/socialchorus/superbolt","forks_url":"https://api.github.com/repos/socialchorus/superbolt/forks","keys_url":"https://api.github.com/repos/socialchorus/superbolt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/socialchorus/superbolt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/socialchorus/superbolt/teams","hooks_url":"https://api.github.com/repos/socialchorus/superbolt/hooks","issue_events_url":"https://api.github.com/repos/socialchorus/superbolt/issues/events{/number}","events_url":"https://api.github.com/repos/socialchorus/superbolt/events","assignees_url":"https://api.github.com/repos/socialchorus/superbolt/assignees{/user}","branches_url":"https://api.github.com/repos/socialchorus/superbolt/branches{/branch}","tags_url":"https://api.github.com/repos/socialchorus/superbolt/tags","blobs_url":"https://api.github.com/repos/socialchorus/superbolt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/socialchorus/superbolt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/socialchorus/superbolt/git/refs{/sha}","trees_url":"https://api.github.com/repos/socialchorus/superbolt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/socialchorus/superbolt/statuses/{sha}","languages_url":"https://api.github.com/repos/socialchorus/superbolt/languages","stargazers_url":"https://api.github.com/repos/socialchorus/superbolt/stargazers","contributors_url":"https://api.github.com/repos/socialchorus/superbolt/contributors","subscribers_url":"https://api.github.com/repos/socialchorus/superbolt/subscribers","subscription_url":"https://api.github.com/repos/socialchorus/superbolt/subscription","commits_url":"https://api.github.com/repos/socialchorus/superbolt/commits{/sha}","git_commits_url":"https://api.github.com/repos/socialchorus/superbolt/git/commits{/sha}","comments_url":"https://api.github.com/repos/socialchorus/superbolt/comments{/number}","issue_comment_url":"https://api.github.com/repos/socialchorus/superbolt/issues/comments{/number}","contents_url":"https://api.github.com/repos/socialchorus/superbolt/contents/{+path}","compare_url":"https://api.github.com/repos/socialchorus/superbolt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/socialchorus/superbolt/merges","archive_url":"https://api.github.com/repos/socialchorus/superbolt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/socialchorus/superbolt/downloads","issues_url":"https://api.github.com/repos/socialchorus/superbolt/issues{/number}","pulls_url":"https://api.github.com/repos/socialchorus/superbolt/pulls{/number}","milestones_url":"https://api.github.com/repos/socialchorus/superbolt/milestones{/number}","notifications_url":"https://api.github.com/repos/socialchorus/superbolt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/socialchorus/superbolt/labels{/name}","releases_url":"https://api.github.com/repos/socialchorus/superbolt/releases{/id}","created_at":"2013-07-10T05:33:13Z","updated_at":"2015-01-27T18:34:30Z","pushed_at":"2015-08-26T22:24:16Z","git_url":"git://github.com/socialchorus/superbolt.git","ssh_url":"git@github.com:socialchorus/superbolt.git","clone_url":"https://github.com/socialchorus/superbolt.git","svn_url":"https://github.com/socialchorus/superbolt","homepage":"","size":800,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/socialchorus/superbolt/pulls/7"},"html":{"href":"https://github.com/socialchorus/superbolt/pull/7"},"issue":{"href":"https://api.github.com/repos/socialchorus/superbolt/issues/7"},"comments":{"href":"https://api.github.com/repos/socialchorus/superbolt/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/socialchorus/superbolt/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/socialchorus/superbolt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/socialchorus/superbolt/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/socialchorus/superbolt/statuses/98f09b99761a75389a4f95eebf1b72480dfc958a"}}}}