{"action":"created","comment":{"url":"https://api.github.com/repos/snabble/go-jstore/pulls/comments/215330619","pull_request_review_id":152570222,"id":215330619,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTMzMDYxOQ==","diff_hunk":"@@ -133,10 +133,11 @@ func sendError(w http.ResponseWriter, err error, status int) bool {\n \tif status >= 500 {\n \t\t// Do not let internal messages to the user\n \t\tfmt.Fprintln(w, \"Internal Server Error\")\n+\t\tlogging.Logger.Errorf(\"Error, Statuscode: %v, Message: %s\", status, err)","path":"http/router.go","position":4,"original_position":4,"commit_id":"4ae185fdd4798fb411342fe69b5aca59253a1c5b","original_commit_id":"4ae185fdd4798fb411342fe69b5aca59253a1c5b","user":{"login":"J-Rocke","id":34475067,"node_id":"MDQ6VXNlcjM0NDc1MDY3","avatar_url":"https://avatars0.githubusercontent.com/u/34475067?v=4","gravatar_id":"","url":"https://api.github.com/users/J-Rocke","html_url":"https://github.com/J-Rocke","followers_url":"https://api.github.com/users/J-Rocke/followers","following_url":"https://api.github.com/users/J-Rocke/following{/other_user}","gists_url":"https://api.github.com/users/J-Rocke/gists{/gist_id}","starred_url":"https://api.github.com/users/J-Rocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J-Rocke/subscriptions","organizations_url":"https://api.github.com/users/J-Rocke/orgs","repos_url":"https://api.github.com/users/J-Rocke/repos","events_url":"https://api.github.com/users/J-Rocke/events{/privacy}","received_events_url":"https://api.github.com/users/J-Rocke/received_events","type":"User","site_admin":false},"body":"Bitte WithError(err) benutzen","created_at":"2018-09-05T15:59:39Z","updated_at":"2018-09-05T15:59:44Z","html_url":"https://github.com/snabble/go-jstore/pull/21#discussion_r215330619","pull_request_url":"https://api.github.com/repos/snabble/go-jstore/pulls/21","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/snabble/go-jstore/pulls/comments/215330619"},"html":{"href":"https://github.com/snabble/go-jstore/pull/21#discussion_r215330619"},"pull_request":{"href":"https://api.github.com/repos/snabble/go-jstore/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/snabble/go-jstore/pulls/21","id":213293562,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzMjkzNTYy","html_url":"https://github.com/snabble/go-jstore/pull/21","diff_url":"https://github.com/snabble/go-jstore/pull/21.diff","patch_url":"https://github.com/snabble/go-jstore/pull/21.patch","issue_url":"https://api.github.com/repos/snabble/go-jstore/issues/21","number":21,"state":"open","locked":false,"title":"log warning instead of error in case of client-error","user":{"login":"anni-k","id":7785422,"node_id":"MDQ6VXNlcjc3ODU0MjI=","avatar_url":"https://avatars1.githubusercontent.com/u/7785422?v=4","gravatar_id":"","url":"https://api.github.com/users/anni-k","html_url":"https://github.com/anni-k","followers_url":"https://api.github.com/users/anni-k/followers","following_url":"https://api.github.com/users/anni-k/following{/other_user}","gists_url":"https://api.github.com/users/anni-k/gists{/gist_id}","starred_url":"https://api.github.com/users/anni-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anni-k/subscriptions","organizations_url":"https://api.github.com/users/anni-k/orgs","repos_url":"https://api.github.com/users/anni-k/repos","events_url":"https://api.github.com/users/anni-k/events{/privacy}","received_events_url":"https://api.github.com/users/anni-k/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-05T13:26:46Z","updated_at":"2018-09-05T15:59:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"75303404975bb3868e965f415fab4d544c826375","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/snabble/go-jstore/pulls/21/commits","review_comments_url":"https://api.github.com/repos/snabble/go-jstore/pulls/21/comments","review_comment_url":"https://api.github.com/repos/snabble/go-jstore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/snabble/go-jstore/issues/21/comments","statuses_url":"https://api.github.com/repos/snabble/go-jstore/statuses/4ae185fdd4798fb411342fe69b5aca59253a1c5b","head":{"label":"snabble:send-error-improvements","ref":"send-error-improvements","sha":"4ae185fdd4798fb411342fe69b5aca59253a1c5b","user":{"login":"snabble","id":35769962,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NzY5OTYy","avatar_url":"https://avatars0.githubusercontent.com/u/35769962?v=4","gravatar_id":"","url":"https://api.github.com/users/snabble","html_url":"https://github.com/snabble","followers_url":"https://api.github.com/users/snabble/followers","following_url":"https://api.github.com/users/snabble/following{/other_user}","gists_url":"https://api.github.com/users/snabble/gists{/gist_id}","starred_url":"https://api.github.com/users/snabble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snabble/subscriptions","organizations_url":"https://api.github.com/users/snabble/orgs","repos_url":"https://api.github.com/users/snabble/repos","events_url":"https://api.github.com/users/snabble/events{/privacy}","received_events_url":"https://api.github.com/users/snabble/received_events","type":"Organization","site_admin":false},"repo":{"id":122505586,"node_id":"MDEwOlJlcG9zaXRvcnkxMjI1MDU1ODY=","name":"go-jstore","full_name":"snabble/go-jstore","owner":{"login":"snabble","id":35769962,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NzY5OTYy","avatar_url":"https://avatars0.githubusercontent.com/u/35769962?v=4","gravatar_id":"","url":"https://api.github.com/users/snabble","html_url":"https://github.com/snabble","followers_url":"https://api.github.com/users/snabble/followers","following_url":"https://api.github.com/users/snabble/following{/other_user}","gists_url":"https://api.github.com/users/snabble/gists{/gist_id}","starred_url":"https://api.github.com/users/snabble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snabble/subscriptions","organizations_url":"https://api.github.com/users/snabble/orgs","repos_url":"https://api.github.com/users/snabble/repos","events_url":"https://api.github.com/users/snabble/events{/privacy}","received_events_url":"https://api.github.com/users/snabble/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/snabble/go-jstore","description":"golang json storage abstraction","fork":false,"url":"https://api.github.com/repos/snabble/go-jstore","forks_url":"https://api.github.com/repos/snabble/go-jstore/forks","keys_url":"https://api.github.com/repos/snabble/go-jstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/snabble/go-jstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/snabble/go-jstore/teams","hooks_url":"https://api.github.com/repos/snabble/go-jstore/hooks","issue_events_url":"https://api.github.com/repos/snabble/go-jstore/issues/events{/number}","events_url":"https://api.github.com/repos/snabble/go-jstore/events","assignees_url":"https://api.github.com/repos/snabble/go-jstore/assignees{/user}","branches_url":"https://api.github.com/repos/snabble/go-jstore/branches{/branch}","tags_url":"https://api.github.com/repos/snabble/go-jstore/tags","blobs_url":"https://api.github.com/repos/snabble/go-jstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/snabble/go-jstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/snabble/go-jstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/snabble/go-jstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/snabble/go-jstore/statuses/{sha}","languages_url":"https://api.github.com/repos/snabble/go-jstore/languages","stargazers_url":"https://api.github.com/repos/snabble/go-jstore/stargazers","contributors_url":"https://api.github.com/repos/snabble/go-jstore/contributors","subscribers_url":"https://api.github.com/repos/snabble/go-jstore/subscribers","subscription_url":"https://api.github.com/repos/snabble/go-jstore/subscription","commits_url":"https://api.github.com/repos/snabble/go-jstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/snabble/go-jstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/snabble/go-jstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/snabble/go-jstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/snabble/go-jstore/contents/{+path}","compare_url":"https://api.github.com/repos/snabble/go-jstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/snabble/go-jstore/merges","archive_url":"https://api.github.com/repos/snabble/go-jstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/snabble/go-jstore/downloads","issues_url":"https://api.github.com/repos/snabble/go-jstore/issues{/number}","pulls_url":"https://api.github.com/repos/snabble/go-jstore/pulls{/number}","milestones_url":"https://api.github.com/repos/snabble/go-jstore/milestones{/number}","notifications_url":"https://api.github.com/repos/snabble/go-jstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/snabble/go-jstore/labels{/name}","releases_url":"https://api.github.com/repos/snabble/go-jstore/releases{/id}","deployments_url":"https://api.github.com/repos/snabble/go-jstore/deployments","created_at":"2018-02-22T16:38:32Z","updated_at":"2018-08-29T15:02:14Z","pushed_at":"2018-09-05T13:26:46Z","git_url":"git://github.com/snabble/go-jstore.git","ssh_url":"git@github.com:snabble/go-jstore.git","clone_url":"https://github.com/snabble/go-jstore.git","svn_url":"https://github.com/snabble/go-jstore","homepage":null,"size":65,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"snabble:master","ref":"master","sha":"7522cabcffd232f55011ab58a5927cbccdaf2ac2","user":{"login":"snabble","id":35769962,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NzY5OTYy","avatar_url":"https://avatars0.githubusercontent.com/u/35769962?v=4","gravatar_id":"","url":"https://api.github.com/users/snabble","html_url":"https://github.com/snabble","followers_url":"https://api.github.com/users/snabble/followers","following_url":"https://api.github.com/users/snabble/following{/other_user}","gists_url":"https://api.github.com/users/snabble/gists{/gist_id}","starred_url":"https://api.github.com/users/snabble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snabble/subscriptions","organizations_url":"https://api.github.com/users/snabble/orgs","repos_url":"https://api.github.com/users/snabble/repos","events_url":"https://api.github.com/users/snabble/events{/privacy}","received_events_url":"https://api.github.com/users/snabble/received_events","type":"Organization","site_admin":false},"repo":{"id":122505586,"node_id":"MDEwOlJlcG9zaXRvcnkxMjI1MDU1ODY=","name":"go-jstore","full_name":"snabble/go-jstore","owner":{"login":"snabble","id":35769962,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NzY5OTYy","avatar_url":"https://avatars0.githubusercontent.com/u/35769962?v=4","gravatar_id":"","url":"https://api.github.com/users/snabble","html_url":"https://github.com/snabble","followers_url":"https://api.github.com/users/snabble/followers","following_url":"https://api.github.com/users/snabble/following{/other_user}","gists_url":"https://api.github.com/users/snabble/gists{/gist_id}","starred_url":"https://api.github.com/users/snabble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snabble/subscriptions","organizations_url":"https://api.github.com/users/snabble/orgs","repos_url":"https://api.github.com/users/snabble/repos","events_url":"https://api.github.com/users/snabble/events{/privacy}","received_events_url":"https://api.github.com/users/snabble/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/snabble/go-jstore","description":"golang json storage abstraction","fork":false,"url":"https://api.github.com/repos/snabble/go-jstore","forks_url":"https://api.github.com/repos/snabble/go-jstore/forks","keys_url":"https://api.github.com/repos/snabble/go-jstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/snabble/go-jstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/snabble/go-jstore/teams","hooks_url":"https://api.github.com/repos/snabble/go-jstore/hooks","issue_events_url":"https://api.github.com/repos/snabble/go-jstore/issues/events{/number}","events_url":"https://api.github.com/repos/snabble/go-jstore/events","assignees_url":"https://api.github.com/repos/snabble/go-jstore/assignees{/user}","branches_url":"https://api.github.com/repos/snabble/go-jstore/branches{/branch}","tags_url":"https://api.github.com/repos/snabble/go-jstore/tags","blobs_url":"https://api.github.com/repos/snabble/go-jstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/snabble/go-jstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/snabble/go-jstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/snabble/go-jstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/snabble/go-jstore/statuses/{sha}","languages_url":"https://api.github.com/repos/snabble/go-jstore/languages","stargazers_url":"https://api.github.com/repos/snabble/go-jstore/stargazers","contributors_url":"https://api.github.com/repos/snabble/go-jstore/contributors","subscribers_url":"https://api.github.com/repos/snabble/go-jstore/subscribers","subscription_url":"https://api.github.com/repos/snabble/go-jstore/subscription","commits_url":"https://api.github.com/repos/snabble/go-jstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/snabble/go-jstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/snabble/go-jstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/snabble/go-jstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/snabble/go-jstore/contents/{+path}","compare_url":"https://api.github.com/repos/snabble/go-jstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/snabble/go-jstore/merges","archive_url":"https://api.github.com/repos/snabble/go-jstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/snabble/go-jstore/downloads","issues_url":"https://api.github.com/repos/snabble/go-jstore/issues{/number}","pulls_url":"https://api.github.com/repos/snabble/go-jstore/pulls{/number}","milestones_url":"https://api.github.com/repos/snabble/go-jstore/milestones{/number}","notifications_url":"https://api.github.com/repos/snabble/go-jstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/snabble/go-jstore/labels{/name}","releases_url":"https://api.github.com/repos/snabble/go-jstore/releases{/id}","deployments_url":"https://api.github.com/repos/snabble/go-jstore/deployments","created_at":"2018-02-22T16:38:32Z","updated_at":"2018-08-29T15:02:14Z","pushed_at":"2018-09-05T13:26:46Z","git_url":"git://github.com/snabble/go-jstore.git","ssh_url":"git@github.com:snabble/go-jstore.git","clone_url":"https://github.com/snabble/go-jstore.git","svn_url":"https://github.com/snabble/go-jstore","homepage":null,"size":65,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/snabble/go-jstore/pulls/21"},"html":{"href":"https://github.com/snabble/go-jstore/pull/21"},"issue":{"href":"https://api.github.com/repos/snabble/go-jstore/issues/21"},"comments":{"href":"https://api.github.com/repos/snabble/go-jstore/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/snabble/go-jstore/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/snabble/go-jstore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/snabble/go-jstore/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/snabble/go-jstore/statuses/4ae185fdd4798fb411342fe69b5aca59253a1c5b"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"J-Rocke"}}