{"action":"created","comment":{"url":"https://api.github.com/repos/advancedtelematic/libats/pulls/comments/143425907","pull_request_review_id":67934264,"id":143425907,"diff_hunk":"@@ -68,18 +72,40 @@ object Errors {\n     ).foldLeft(PartialFunction.empty[Throwable, Route])(_ orElse _)\n }\n \n+trait DeployEnvSupport {\n+  protected lazy val isProd =\n+    Option(System.getenv(\"DEPLOY_ENV\")).exists(env => env == \"production\" || env.isEmpty)","path":"libats/src/main/scala/com/advancedtelematic/libats/http/ErrorHandler.scala","position":25,"original_position":25,"commit_id":"d8e5043ac141ada36af73f2b477b516385f703a9","original_commit_id":"d8e5043ac141ada36af73f2b477b516385f703a9","user":{"login":"Danten","id":101181,"avatar_url":"https://avatars2.githubusercontent.com/u/101181?v=4","gravatar_id":"","url":"https://api.github.com/users/Danten","html_url":"https://github.com/Danten","followers_url":"https://api.github.com/users/Danten/followers","following_url":"https://api.github.com/users/Danten/following{/other_user}","gists_url":"https://api.github.com/users/Danten/gists{/gist_id}","starred_url":"https://api.github.com/users/Danten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danten/subscriptions","organizations_url":"https://api.github.com/users/Danten/orgs","repos_url":"https://api.github.com/users/Danten/repos","events_url":"https://api.github.com/users/Danten/events{/privacy}","received_events_url":"https://api.github.com/users/Danten/received_events","type":"User","site_admin":false},"body":"Do you plan on adding this environment variable? I don't see it in marathon.","created_at":"2017-10-09T09:59:24Z","updated_at":"2017-10-09T10:01:14Z","html_url":"https://github.com/advancedtelematic/libats/pull/40#discussion_r143425907","pull_request_url":"https://api.github.com/repos/advancedtelematic/libats/pulls/40","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/advancedtelematic/libats/pulls/comments/143425907"},"html":{"href":"https://github.com/advancedtelematic/libats/pull/40#discussion_r143425907"},"pull_request":{"href":"https://api.github.com/repos/advancedtelematic/libats/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/advancedtelematic/libats/pulls/40","id":144692186,"html_url":"https://github.com/advancedtelematic/libats/pull/40","diff_url":"https://github.com/advancedtelematic/libats/pull/40.diff","patch_url":"https://github.com/advancedtelematic/libats/pull/40.patch","issue_url":"https://api.github.com/repos/advancedtelematic/libats/issues/40","number":40,"state":"open","locked":false,"title":"Log error id, do not respond with error json repr","user":{"login":"simao","id":203575,"avatar_url":"https://avatars2.githubusercontent.com/u/203575?v=4","gravatar_id":"","url":"https://api.github.com/users/simao","html_url":"https://github.com/simao","followers_url":"https://api.github.com/users/simao/followers","following_url":"https://api.github.com/users/simao/following{/other_user}","gists_url":"https://api.github.com/users/simao/gists{/gist_id}","starred_url":"https://api.github.com/users/simao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simao/subscriptions","organizations_url":"https://api.github.com/users/simao/orgs","repos_url":"https://api.github.com/users/simao/repos","events_url":"https://api.github.com/users/simao/events{/privacy}","received_events_url":"https://api.github.com/users/simao/received_events","type":"User","site_admin":false},"body":null,"created_at":"2017-10-04T14:53:34Z","updated_at":"2017-10-09T10:01:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f93fa64385d313088ad427df3152d5de0749e4ed","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/advancedtelematic/libats/pulls/40/commits","review_comments_url":"https://api.github.com/repos/advancedtelematic/libats/pulls/40/comments","review_comment_url":"https://api.github.com/repos/advancedtelematic/libats/pulls/comments{/number}","comments_url":"https://api.github.com/repos/advancedtelematic/libats/issues/40/comments","statuses_url":"https://api.github.com/repos/advancedtelematic/libats/statuses/d8e5043ac141ada36af73f2b477b516385f703a9","head":{"label":"advancedtelematic:bugfix/PRO-3036","ref":"bugfix/PRO-3036","sha":"d8e5043ac141ada36af73f2b477b516385f703a9","user":{"login":"advancedtelematic","id":7944633,"avatar_url":"https://avatars0.githubusercontent.com/u/7944633?v=4","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"repo":{"id":82199768,"name":"libats","full_name":"advancedtelematic/libats","owner":{"login":"advancedtelematic","id":7944633,"avatar_url":"https://avatars0.githubusercontent.com/u/7944633?v=4","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/advancedtelematic/libats","description":null,"fork":false,"url":"https://api.github.com/repos/advancedtelematic/libats","forks_url":"https://api.github.com/repos/advancedtelematic/libats/forks","keys_url":"https://api.github.com/repos/advancedtelematic/libats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/advancedtelematic/libats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/advancedtelematic/libats/teams","hooks_url":"https://api.github.com/repos/advancedtelematic/libats/hooks","issue_events_url":"https://api.github.com/repos/advancedtelematic/libats/issues/events{/number}","events_url":"https://api.github.com/repos/advancedtelematic/libats/events","assignees_url":"https://api.github.com/repos/advancedtelematic/libats/assignees{/user}","branches_url":"https://api.github.com/repos/advancedtelematic/libats/branches{/branch}","tags_url":"https://api.github.com/repos/advancedtelematic/libats/tags","blobs_url":"https://api.github.com/repos/advancedtelematic/libats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/advancedtelematic/libats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/advancedtelematic/libats/git/refs{/sha}","trees_url":"https://api.github.com/repos/advancedtelematic/libats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/advancedtelematic/libats/statuses/{sha}","languages_url":"https://api.github.com/repos/advancedtelematic/libats/languages","stargazers_url":"https://api.github.com/repos/advancedtelematic/libats/stargazers","contributors_url":"https://api.github.com/repos/advancedtelematic/libats/contributors","subscribers_url":"https://api.github.com/repos/advancedtelematic/libats/subscribers","subscription_url":"https://api.github.com/repos/advancedtelematic/libats/subscription","commits_url":"https://api.github.com/repos/advancedtelematic/libats/commits{/sha}","git_commits_url":"https://api.github.com/repos/advancedtelematic/libats/git/commits{/sha}","comments_url":"https://api.github.com/repos/advancedtelematic/libats/comments{/number}","issue_comment_url":"https://api.github.com/repos/advancedtelematic/libats/issues/comments{/number}","contents_url":"https://api.github.com/repos/advancedtelematic/libats/contents/{+path}","compare_url":"https://api.github.com/repos/advancedtelematic/libats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/advancedtelematic/libats/merges","archive_url":"https://api.github.com/repos/advancedtelematic/libats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/advancedtelematic/libats/downloads","issues_url":"https://api.github.com/repos/advancedtelematic/libats/issues{/number}","pulls_url":"https://api.github.com/repos/advancedtelematic/libats/pulls{/number}","milestones_url":"https://api.github.com/repos/advancedtelematic/libats/milestones{/number}","notifications_url":"https://api.github.com/repos/advancedtelematic/libats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/advancedtelematic/libats/labels{/name}","releases_url":"https://api.github.com/repos/advancedtelematic/libats/releases{/id}","deployments_url":"https://api.github.com/repos/advancedtelematic/libats/deployments","created_at":"2017-02-16T16:13:58Z","updated_at":"2017-02-16T16:14:31Z","pushed_at":"2017-10-04T14:53:35Z","git_url":"git://github.com/advancedtelematic/libats.git","ssh_url":"git@github.com:advancedtelematic/libats.git","clone_url":"https://github.com/advancedtelematic/libats.git","svn_url":"https://github.com/advancedtelematic/libats","homepage":null,"size":163,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_projects":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":0,"default_branch":"master"}},"base":{"label":"advancedtelematic:master","ref":"master","sha":"8ae2ff0d0e143e8f1653a8246bf9ac5ed8a79ada","user":{"login":"advancedtelematic","id":7944633,"avatar_url":"https://avatars0.githubusercontent.com/u/7944633?v=4","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"repo":{"id":82199768,"name":"libats","full_name":"advancedtelematic/libats","owner":{"login":"advancedtelematic","id":7944633,"avatar_url":"https://avatars0.githubusercontent.com/u/7944633?v=4","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/advancedtelematic/libats","description":null,"fork":false,"url":"https://api.github.com/repos/advancedtelematic/libats","forks_url":"https://api.github.com/repos/advancedtelematic/libats/forks","keys_url":"https://api.github.com/repos/advancedtelematic/libats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/advancedtelematic/libats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/advancedtelematic/libats/teams","hooks_url":"https://api.github.com/repos/advancedtelematic/libats/hooks","issue_events_url":"https://api.github.com/repos/advancedtelematic/libats/issues/events{/number}","events_url":"https://api.github.com/repos/advancedtelematic/libats/events","assignees_url":"https://api.github.com/repos/advancedtelematic/libats/assignees{/user}","branches_url":"https://api.github.com/repos/advancedtelematic/libats/branches{/branch}","tags_url":"https://api.github.com/repos/advancedtelematic/libats/tags","blobs_url":"https://api.github.com/repos/advancedtelematic/libats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/advancedtelematic/libats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/advancedtelematic/libats/git/refs{/sha}","trees_url":"https://api.github.com/repos/advancedtelematic/libats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/advancedtelematic/libats/statuses/{sha}","languages_url":"https://api.github.com/repos/advancedtelematic/libats/languages","stargazers_url":"https://api.github.com/repos/advancedtelematic/libats/stargazers","contributors_url":"https://api.github.com/repos/advancedtelematic/libats/contributors","subscribers_url":"https://api.github.com/repos/advancedtelematic/libats/subscribers","subscription_url":"https://api.github.com/repos/advancedtelematic/libats/subscription","commits_url":"https://api.github.com/repos/advancedtelematic/libats/commits{/sha}","git_commits_url":"https://api.github.com/repos/advancedtelematic/libats/git/commits{/sha}","comments_url":"https://api.github.com/repos/advancedtelematic/libats/comments{/number}","issue_comment_url":"https://api.github.com/repos/advancedtelematic/libats/issues/comments{/number}","contents_url":"https://api.github.com/repos/advancedtelematic/libats/contents/{+path}","compare_url":"https://api.github.com/repos/advancedtelematic/libats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/advancedtelematic/libats/merges","archive_url":"https://api.github.com/repos/advancedtelematic/libats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/advancedtelematic/libats/downloads","issues_url":"https://api.github.com/repos/advancedtelematic/libats/issues{/number}","pulls_url":"https://api.github.com/repos/advancedtelematic/libats/pulls{/number}","milestones_url":"https://api.github.com/repos/advancedtelematic/libats/milestones{/number}","notifications_url":"https://api.github.com/repos/advancedtelematic/libats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/advancedtelematic/libats/labels{/name}","releases_url":"https://api.github.com/repos/advancedtelematic/libats/releases{/id}","deployments_url":"https://api.github.com/repos/advancedtelematic/libats/deployments","created_at":"2017-02-16T16:13:58Z","updated_at":"2017-02-16T16:14:31Z","pushed_at":"2017-10-04T14:53:35Z","git_url":"git://github.com/advancedtelematic/libats.git","ssh_url":"git@github.com:advancedtelematic/libats.git","clone_url":"https://github.com/advancedtelematic/libats.git","svn_url":"https://github.com/advancedtelematic/libats","homepage":null,"size":163,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_projects":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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/advancedtelematic/libats/pulls/40"},"html":{"href":"https://github.com/advancedtelematic/libats/pull/40"},"issue":{"href":"https://api.github.com/repos/advancedtelematic/libats/issues/40"},"comments":{"href":"https://api.github.com/repos/advancedtelematic/libats/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/advancedtelematic/libats/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/advancedtelematic/libats/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/advancedtelematic/libats/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/advancedtelematic/libats/statuses/d8e5043ac141ada36af73f2b477b516385f703a9"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"Danten"}}