{"action":"closed","number":18,"pull_request":{"url":"https://api.github.com/repos/riemann/riemann-clojure-client/pulls/18","id":47064187,"html_url":"https://github.com/riemann/riemann-clojure-client/pull/18","diff_url":"https://github.com/riemann/riemann-clojure-client/pull/18.diff","patch_url":"https://github.com/riemann/riemann-clojure-client/pull/18.patch","issue_url":"https://api.github.com/repos/riemann/riemann-clojure-client/issues/18","number":18,"state":"closed","locked":false,"title":"Provide context when serialization fails","user":{"login":"dbriones","id":91645,"avatar_url":"https://avatars.githubusercontent.com/u/91645?v=3","gravatar_id":"","url":"https://api.github.com/users/dbriones","html_url":"https://github.com/dbriones","followers_url":"https://api.github.com/users/dbriones/followers","following_url":"https://api.github.com/users/dbriones/following{/other_user}","gists_url":"https://api.github.com/users/dbriones/gists{/gist_id}","starred_url":"https://api.github.com/users/dbriones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbriones/subscriptions","organizations_url":"https://api.github.com/users/dbriones/orgs","repos_url":"https://api.github.com/users/dbriones/repos","events_url":"https://api.github.com/users/dbriones/events{/privacy}","received_events_url":"https://api.github.com/users/dbriones/received_events","type":"User","site_admin":false},"body":"Somewhat related to [my previous\r\nPR](https://github.com/aphyr/riemann-clojure-client/pull/16): I noticed that\r\nthat I'd occasionally index an event that was impossible to serialize\r\n(that is, with non-String custom attribute values) due to an error in my\r\nRiemann config. The symptoms: inability to remotely query the index, and\r\na cryptic ClassCastException in the Riemann log.\r\n\r\nThis made the problem more difficult to diagnose than it ought to have\r\nbeen. This PR aims to fix that by providing more context when event\r\nserialization fails so that users can more quickly diagnose errors in\r\ntheir Riemann configurations.","created_at":"2015-10-07T18:31:17Z","updated_at":"2016-02-09T13:39:46Z","closed_at":"2016-02-09T13:39:46Z","merged_at":null,"merge_commit_sha":"6795174958eeaf2d86b7903c7878fb71c7e472c0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/riemann/riemann-clojure-client/pulls/18/commits","review_comments_url":"https://api.github.com/repos/riemann/riemann-clojure-client/pulls/18/comments","review_comment_url":"https://api.github.com/repos/riemann/riemann-clojure-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/riemann/riemann-clojure-client/issues/18/comments","statuses_url":"https://api.github.com/repos/riemann/riemann-clojure-client/statuses/e45d3ecc333e8b8202b9006fba51ca68f32665cd","head":{"label":"dbriones:provide-context-when-serialization-fails","ref":"provide-context-when-serialization-fails","sha":"e45d3ecc333e8b8202b9006fba51ca68f32665cd","user":{"login":"dbriones","id":91645,"avatar_url":"https://avatars.githubusercontent.com/u/91645?v=3","gravatar_id":"","url":"https://api.github.com/users/dbriones","html_url":"https://github.com/dbriones","followers_url":"https://api.github.com/users/dbriones/followers","following_url":"https://api.github.com/users/dbriones/following{/other_user}","gists_url":"https://api.github.com/users/dbriones/gists{/gist_id}","starred_url":"https://api.github.com/users/dbriones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbriones/subscriptions","organizations_url":"https://api.github.com/users/dbriones/orgs","repos_url":"https://api.github.com/users/dbriones/repos","events_url":"https://api.github.com/users/dbriones/events{/privacy}","received_events_url":"https://api.github.com/users/dbriones/received_events","type":"User","site_admin":false},"repo":{"id":42334985,"name":"riemann-clojure-client","full_name":"dbriones/riemann-clojure-client","owner":{"login":"dbriones","id":91645,"avatar_url":"https://avatars.githubusercontent.com/u/91645?v=3","gravatar_id":"","url":"https://api.github.com/users/dbriones","html_url":"https://github.com/dbriones","followers_url":"https://api.github.com/users/dbriones/followers","following_url":"https://api.github.com/users/dbriones/following{/other_user}","gists_url":"https://api.github.com/users/dbriones/gists{/gist_id}","starred_url":"https://api.github.com/users/dbriones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbriones/subscriptions","organizations_url":"https://api.github.com/users/dbriones/orgs","repos_url":"https://api.github.com/users/dbriones/repos","events_url":"https://api.github.com/users/dbriones/events{/privacy}","received_events_url":"https://api.github.com/users/dbriones/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dbriones/riemann-clojure-client","description":"A Clojure client for the Riemann monitoring system.","fork":true,"url":"https://api.github.com/repos/dbriones/riemann-clojure-client","forks_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/forks","keys_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/teams","hooks_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/hooks","issue_events_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/issues/events{/number}","events_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/events","assignees_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/assignees{/user}","branches_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/branches{/branch}","tags_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/tags","blobs_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/statuses/{sha}","languages_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/languages","stargazers_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/stargazers","contributors_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/contributors","subscribers_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/subscribers","subscription_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/subscription","commits_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/contents/{+path}","compare_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/merges","archive_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/downloads","issues_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/issues{/number}","pulls_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/pulls{/number}","milestones_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/milestones{/number}","notifications_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/labels{/name}","releases_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/releases{/id}","deployments_url":"https://api.github.com/repos/dbriones/riemann-clojure-client/deployments","created_at":"2015-09-11T22:23:42Z","updated_at":"2016-02-05T18:09:38Z","pushed_at":"2016-01-11T20:05:18Z","git_url":"git://github.com/dbriones/riemann-clojure-client.git","ssh_url":"git@github.com:dbriones/riemann-clojure-client.git","clone_url":"https://github.com/dbriones/riemann-clojure-client.git","svn_url":"https://github.com/dbriones/riemann-clojure-client","homepage":null,"size":72,"stargazers_count":0,"watchers_count":0,"language":"Clojure","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":"riemann:master","ref":"master","sha":"b5368094c494843d29b7376450b72526731f497a","user":{"login":"riemann","id":5421939,"avatar_url":"https://avatars.githubusercontent.com/u/5421939?v=3","gravatar_id":"","url":"https://api.github.com/users/riemann","html_url":"https://github.com/riemann","followers_url":"https://api.github.com/users/riemann/followers","following_url":"https://api.github.com/users/riemann/following{/other_user}","gists_url":"https://api.github.com/users/riemann/gists{/gist_id}","starred_url":"https://api.github.com/users/riemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riemann/subscriptions","organizations_url":"https://api.github.com/users/riemann/orgs","repos_url":"https://api.github.com/users/riemann/repos","events_url":"https://api.github.com/users/riemann/events{/privacy}","received_events_url":"https://api.github.com/users/riemann/received_events","type":"Organization","site_admin":false},"repo":{"id":5307606,"name":"riemann-clojure-client","full_name":"riemann/riemann-clojure-client","owner":{"login":"riemann","id":5421939,"avatar_url":"https://avatars.githubusercontent.com/u/5421939?v=3","gravatar_id":"","url":"https://api.github.com/users/riemann","html_url":"https://github.com/riemann","followers_url":"https://api.github.com/users/riemann/followers","following_url":"https://api.github.com/users/riemann/following{/other_user}","gists_url":"https://api.github.com/users/riemann/gists{/gist_id}","starred_url":"https://api.github.com/users/riemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riemann/subscriptions","organizations_url":"https://api.github.com/users/riemann/orgs","repos_url":"https://api.github.com/users/riemann/repos","events_url":"https://api.github.com/users/riemann/events{/privacy}","received_events_url":"https://api.github.com/users/riemann/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/riemann/riemann-clojure-client","description":"A Clojure client for the Riemann monitoring system.","fork":false,"url":"https://api.github.com/repos/riemann/riemann-clojure-client","forks_url":"https://api.github.com/repos/riemann/riemann-clojure-client/forks","keys_url":"https://api.github.com/repos/riemann/riemann-clojure-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/riemann/riemann-clojure-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/riemann/riemann-clojure-client/teams","hooks_url":"https://api.github.com/repos/riemann/riemann-clojure-client/hooks","issue_events_url":"https://api.github.com/repos/riemann/riemann-clojure-client/issues/events{/number}","events_url":"https://api.github.com/repos/riemann/riemann-clojure-client/events","assignees_url":"https://api.github.com/repos/riemann/riemann-clojure-client/assignees{/user}","branches_url":"https://api.github.com/repos/riemann/riemann-clojure-client/branches{/branch}","tags_url":"https://api.github.com/repos/riemann/riemann-clojure-client/tags","blobs_url":"https://api.github.com/repos/riemann/riemann-clojure-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/riemann/riemann-clojure-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/riemann/riemann-clojure-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/riemann/riemann-clojure-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/riemann/riemann-clojure-client/statuses/{sha}","languages_url":"https://api.github.com/repos/riemann/riemann-clojure-client/languages","stargazers_url":"https://api.github.com/repos/riemann/riemann-clojure-client/stargazers","contributors_url":"https://api.github.com/repos/riemann/riemann-clojure-client/contributors","subscribers_url":"https://api.github.com/repos/riemann/riemann-clojure-client/subscribers","subscription_url":"https://api.github.com/repos/riemann/riemann-clojure-client/subscription","commits_url":"https://api.github.com/repos/riemann/riemann-clojure-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/riemann/riemann-clojure-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/riemann/riemann-clojure-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/riemann/riemann-clojure-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/riemann/riemann-clojure-client/contents/{+path}","compare_url":"https://api.github.com/repos/riemann/riemann-clojure-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/riemann/riemann-clojure-client/merges","archive_url":"https://api.github.com/repos/riemann/riemann-clojure-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/riemann/riemann-clojure-client/downloads","issues_url":"https://api.github.com/repos/riemann/riemann-clojure-client/issues{/number}","pulls_url":"https://api.github.com/repos/riemann/riemann-clojure-client/pulls{/number}","milestones_url":"https://api.github.com/repos/riemann/riemann-clojure-client/milestones{/number}","notifications_url":"https://api.github.com/repos/riemann/riemann-clojure-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/riemann/riemann-clojure-client/labels{/name}","releases_url":"https://api.github.com/repos/riemann/riemann-clojure-client/releases{/id}","deployments_url":"https://api.github.com/repos/riemann/riemann-clojure-client/deployments","created_at":"2012-08-05T22:36:47Z","updated_at":"2016-02-05T18:09:38Z","pushed_at":"2016-02-09T13:30:05Z","git_url":"git://github.com/riemann/riemann-clojure-client.git","ssh_url":"git@github.com:riemann/riemann-clojure-client.git","clone_url":"https://github.com/riemann/riemann-clojure-client.git","svn_url":"https://github.com/riemann/riemann-clojure-client","homepage":null,"size":77,"stargazers_count":36,"watchers_count":36,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":2,"forks":27,"open_issues":2,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/riemann/riemann-clojure-client/pulls/18"},"html":{"href":"https://github.com/riemann/riemann-clojure-client/pull/18"},"issue":{"href":"https://api.github.com/repos/riemann/riemann-clojure-client/issues/18"},"comments":{"href":"https://api.github.com/repos/riemann/riemann-clojure-client/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/riemann/riemann-clojure-client/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/riemann/riemann-clojure-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/riemann/riemann-clojure-client/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/riemann/riemann-clojure-client/statuses/e45d3ecc333e8b8202b9006fba51ca68f32665cd"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":2,"review_comments":3,"commits":2,"additions":28,"deletions":3,"changed_files":2}}