{"action":"created","comment":{"url":"https://api.github.com/repos/elixir-addicts/rollbax/pulls/comments/60694460","id":60694460,"diff_hunk":"@@ -40,12 +40,14 @@ defmodule Rollbax.Client do\n   end\n \n   def handle_cast({:emit, event}, %{enabled: :log} = state) do\n-    {level, message, time, meta} = event\n+    {level, exception, stacktrace, time, meta} = event\n     Logger.info [\n-      \"(Rollbax) registered report:\", ?\\n, message,\n+      \"(Rollbax) registered report:\", ?\\n, exception.message,","path":"lib/rollbax/client.ex","position":19,"original_position":19,"commit_id":"b5ad6863c52649e6098b36f2eda0e102f175f7d5","original_commit_id":"d0009a9a38c3337e3c7313377f2f8d799fbd7756","user":{"login":"whatyouhide","id":3890250,"avatar_url":"https://avatars.githubusercontent.com/u/3890250?v=3","gravatar_id":"","url":"https://api.github.com/users/whatyouhide","html_url":"https://github.com/whatyouhide","followers_url":"https://api.github.com/users/whatyouhide/followers","following_url":"https://api.github.com/users/whatyouhide/following{/other_user}","gists_url":"https://api.github.com/users/whatyouhide/gists{/gist_id}","starred_url":"https://api.github.com/users/whatyouhide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whatyouhide/subscriptions","organizations_url":"https://api.github.com/users/whatyouhide/orgs","repos_url":"https://api.github.com/users/whatyouhide/repos","events_url":"https://api.github.com/users/whatyouhide/events{/privacy}","received_events_url":"https://api.github.com/users/whatyouhide/received_events","type":"User","site_admin":false},"body":"That will output something like `%RuntimeError{message: \"oops\"}`, which IMO is more noisy and harder to read then `(RuntimeError) oops`. Wdyt?","created_at":"2016-04-22T06:01:28Z","updated_at":"2016-04-22T06:01:28Z","html_url":"https://github.com/elixir-addicts/rollbax/pull/18#discussion_r60694460","pull_request_url":"https://api.github.com/repos/elixir-addicts/rollbax/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/elixir-addicts/rollbax/pulls/comments/60694460"},"html":{"href":"https://github.com/elixir-addicts/rollbax/pull/18#discussion_r60694460"},"pull_request":{"href":"https://api.github.com/repos/elixir-addicts/rollbax/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/elixir-addicts/rollbax/pulls/18","id":67174411,"html_url":"https://github.com/elixir-addicts/rollbax/pull/18","diff_url":"https://github.com/elixir-addicts/rollbax/pull/18.diff","patch_url":"https://github.com/elixir-addicts/rollbax/pull/18.patch","issue_url":"https://api.github.com/repos/elixir-addicts/rollbax/issues/18","number":18,"state":"open","locked":false,"title":"Formatted payload. Trace #14","user":{"login":"nsi88","id":3965497,"avatar_url":"https://avatars.githubusercontent.com/u/3965497?v=3","gravatar_id":"","url":"https://api.github.com/users/nsi88","html_url":"https://github.com/nsi88","followers_url":"https://api.github.com/users/nsi88/followers","following_url":"https://api.github.com/users/nsi88/following{/other_user}","gists_url":"https://api.github.com/users/nsi88/gists{/gist_id}","starred_url":"https://api.github.com/users/nsi88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsi88/subscriptions","organizations_url":"https://api.github.com/users/nsi88/orgs","repos_url":"https://api.github.com/users/nsi88/repos","events_url":"https://api.github.com/users/nsi88/events{/privacy}","received_events_url":"https://api.github.com/users/nsi88/received_events","type":"User","site_admin":false},"body":"Added trace support (https://rollbar.com/docs/api/items_post/)","created_at":"2016-04-20T12:01:37Z","updated_at":"2016-04-22T06:01:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"63ca785c53c308a26b96100bde2f42837fc2117c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elixir-addicts/rollbax/pulls/18/commits","review_comments_url":"https://api.github.com/repos/elixir-addicts/rollbax/pulls/18/comments","review_comment_url":"https://api.github.com/repos/elixir-addicts/rollbax/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elixir-addicts/rollbax/issues/18/comments","statuses_url":"https://api.github.com/repos/elixir-addicts/rollbax/statuses/b5ad6863c52649e6098b36f2eda0e102f175f7d5","head":{"label":"nsi88:formatted_payload","ref":"formatted_payload","sha":"b5ad6863c52649e6098b36f2eda0e102f175f7d5","user":{"login":"nsi88","id":3965497,"avatar_url":"https://avatars.githubusercontent.com/u/3965497?v=3","gravatar_id":"","url":"https://api.github.com/users/nsi88","html_url":"https://github.com/nsi88","followers_url":"https://api.github.com/users/nsi88/followers","following_url":"https://api.github.com/users/nsi88/following{/other_user}","gists_url":"https://api.github.com/users/nsi88/gists{/gist_id}","starred_url":"https://api.github.com/users/nsi88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsi88/subscriptions","organizations_url":"https://api.github.com/users/nsi88/orgs","repos_url":"https://api.github.com/users/nsi88/repos","events_url":"https://api.github.com/users/nsi88/events{/privacy}","received_events_url":"https://api.github.com/users/nsi88/received_events","type":"User","site_admin":false},"repo":{"id":56666275,"name":"rollbax","full_name":"nsi88/rollbax","owner":{"login":"nsi88","id":3965497,"avatar_url":"https://avatars.githubusercontent.com/u/3965497?v=3","gravatar_id":"","url":"https://api.github.com/users/nsi88","html_url":"https://github.com/nsi88","followers_url":"https://api.github.com/users/nsi88/followers","following_url":"https://api.github.com/users/nsi88/following{/other_user}","gists_url":"https://api.github.com/users/nsi88/gists{/gist_id}","starred_url":"https://api.github.com/users/nsi88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsi88/subscriptions","organizations_url":"https://api.github.com/users/nsi88/orgs","repos_url":"https://api.github.com/users/nsi88/repos","events_url":"https://api.github.com/users/nsi88/events{/privacy}","received_events_url":"https://api.github.com/users/nsi88/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nsi88/rollbax","description":"Exception tracking and logging from Elixir to Rollbar","fork":true,"url":"https://api.github.com/repos/nsi88/rollbax","forks_url":"https://api.github.com/repos/nsi88/rollbax/forks","keys_url":"https://api.github.com/repos/nsi88/rollbax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nsi88/rollbax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nsi88/rollbax/teams","hooks_url":"https://api.github.com/repos/nsi88/rollbax/hooks","issue_events_url":"https://api.github.com/repos/nsi88/rollbax/issues/events{/number}","events_url":"https://api.github.com/repos/nsi88/rollbax/events","assignees_url":"https://api.github.com/repos/nsi88/rollbax/assignees{/user}","branches_url":"https://api.github.com/repos/nsi88/rollbax/branches{/branch}","tags_url":"https://api.github.com/repos/nsi88/rollbax/tags","blobs_url":"https://api.github.com/repos/nsi88/rollbax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nsi88/rollbax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nsi88/rollbax/git/refs{/sha}","trees_url":"https://api.github.com/repos/nsi88/rollbax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nsi88/rollbax/statuses/{sha}","languages_url":"https://api.github.com/repos/nsi88/rollbax/languages","stargazers_url":"https://api.github.com/repos/nsi88/rollbax/stargazers","contributors_url":"https://api.github.com/repos/nsi88/rollbax/contributors","subscribers_url":"https://api.github.com/repos/nsi88/rollbax/subscribers","subscription_url":"https://api.github.com/repos/nsi88/rollbax/subscription","commits_url":"https://api.github.com/repos/nsi88/rollbax/commits{/sha}","git_commits_url":"https://api.github.com/repos/nsi88/rollbax/git/commits{/sha}","comments_url":"https://api.github.com/repos/nsi88/rollbax/comments{/number}","issue_comment_url":"https://api.github.com/repos/nsi88/rollbax/issues/comments{/number}","contents_url":"https://api.github.com/repos/nsi88/rollbax/contents/{+path}","compare_url":"https://api.github.com/repos/nsi88/rollbax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nsi88/rollbax/merges","archive_url":"https://api.github.com/repos/nsi88/rollbax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nsi88/rollbax/downloads","issues_url":"https://api.github.com/repos/nsi88/rollbax/issues{/number}","pulls_url":"https://api.github.com/repos/nsi88/rollbax/pulls{/number}","milestones_url":"https://api.github.com/repos/nsi88/rollbax/milestones{/number}","notifications_url":"https://api.github.com/repos/nsi88/rollbax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nsi88/rollbax/labels{/name}","releases_url":"https://api.github.com/repos/nsi88/rollbax/releases{/id}","deployments_url":"https://api.github.com/repos/nsi88/rollbax/deployments","created_at":"2016-04-20T07:40:24Z","updated_at":"2016-04-20T07:40:25Z","pushed_at":"2016-04-22T04:59:40Z","git_url":"git://github.com/nsi88/rollbax.git","ssh_url":"git@github.com:nsi88/rollbax.git","clone_url":"https://github.com/nsi88/rollbax.git","svn_url":"https://github.com/nsi88/rollbax","homepage":"","size":31,"stargazers_count":0,"watchers_count":0,"language":"Elixir","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":"elixir-addicts:master","ref":"master","sha":"455c86812cd49607dbd9cad501de765163099fdd","user":{"login":"elixir-addicts","id":13315458,"avatar_url":"https://avatars.githubusercontent.com/u/13315458?v=3","gravatar_id":"","url":"https://api.github.com/users/elixir-addicts","html_url":"https://github.com/elixir-addicts","followers_url":"https://api.github.com/users/elixir-addicts/followers","following_url":"https://api.github.com/users/elixir-addicts/following{/other_user}","gists_url":"https://api.github.com/users/elixir-addicts/gists{/gist_id}","starred_url":"https://api.github.com/users/elixir-addicts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elixir-addicts/subscriptions","organizations_url":"https://api.github.com/users/elixir-addicts/orgs","repos_url":"https://api.github.com/users/elixir-addicts/repos","events_url":"https://api.github.com/users/elixir-addicts/events{/privacy}","received_events_url":"https://api.github.com/users/elixir-addicts/received_events","type":"Organization","site_admin":false},"repo":{"id":40178027,"name":"rollbax","full_name":"elixir-addicts/rollbax","owner":{"login":"elixir-addicts","id":13315458,"avatar_url":"https://avatars.githubusercontent.com/u/13315458?v=3","gravatar_id":"","url":"https://api.github.com/users/elixir-addicts","html_url":"https://github.com/elixir-addicts","followers_url":"https://api.github.com/users/elixir-addicts/followers","following_url":"https://api.github.com/users/elixir-addicts/following{/other_user}","gists_url":"https://api.github.com/users/elixir-addicts/gists{/gist_id}","starred_url":"https://api.github.com/users/elixir-addicts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elixir-addicts/subscriptions","organizations_url":"https://api.github.com/users/elixir-addicts/orgs","repos_url":"https://api.github.com/users/elixir-addicts/repos","events_url":"https://api.github.com/users/elixir-addicts/events{/privacy}","received_events_url":"https://api.github.com/users/elixir-addicts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elixir-addicts/rollbax","description":"Exception tracking and logging from Elixir to Rollbar","fork":false,"url":"https://api.github.com/repos/elixir-addicts/rollbax","forks_url":"https://api.github.com/repos/elixir-addicts/rollbax/forks","keys_url":"https://api.github.com/repos/elixir-addicts/rollbax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elixir-addicts/rollbax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elixir-addicts/rollbax/teams","hooks_url":"https://api.github.com/repos/elixir-addicts/rollbax/hooks","issue_events_url":"https://api.github.com/repos/elixir-addicts/rollbax/issues/events{/number}","events_url":"https://api.github.com/repos/elixir-addicts/rollbax/events","assignees_url":"https://api.github.com/repos/elixir-addicts/rollbax/assignees{/user}","branches_url":"https://api.github.com/repos/elixir-addicts/rollbax/branches{/branch}","tags_url":"https://api.github.com/repos/elixir-addicts/rollbax/tags","blobs_url":"https://api.github.com/repos/elixir-addicts/rollbax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elixir-addicts/rollbax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elixir-addicts/rollbax/git/refs{/sha}","trees_url":"https://api.github.com/repos/elixir-addicts/rollbax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elixir-addicts/rollbax/statuses/{sha}","languages_url":"https://api.github.com/repos/elixir-addicts/rollbax/languages","stargazers_url":"https://api.github.com/repos/elixir-addicts/rollbax/stargazers","contributors_url":"https://api.github.com/repos/elixir-addicts/rollbax/contributors","subscribers_url":"https://api.github.com/repos/elixir-addicts/rollbax/subscribers","subscription_url":"https://api.github.com/repos/elixir-addicts/rollbax/subscription","commits_url":"https://api.github.com/repos/elixir-addicts/rollbax/commits{/sha}","git_commits_url":"https://api.github.com/repos/elixir-addicts/rollbax/git/commits{/sha}","comments_url":"https://api.github.com/repos/elixir-addicts/rollbax/comments{/number}","issue_comment_url":"https://api.github.com/repos/elixir-addicts/rollbax/issues/comments{/number}","contents_url":"https://api.github.com/repos/elixir-addicts/rollbax/contents/{+path}","compare_url":"https://api.github.com/repos/elixir-addicts/rollbax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elixir-addicts/rollbax/merges","archive_url":"https://api.github.com/repos/elixir-addicts/rollbax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elixir-addicts/rollbax/downloads","issues_url":"https://api.github.com/repos/elixir-addicts/rollbax/issues{/number}","pulls_url":"https://api.github.com/repos/elixir-addicts/rollbax/pulls{/number}","milestones_url":"https://api.github.com/repos/elixir-addicts/rollbax/milestones{/number}","notifications_url":"https://api.github.com/repos/elixir-addicts/rollbax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elixir-addicts/rollbax/labels{/name}","releases_url":"https://api.github.com/repos/elixir-addicts/rollbax/releases{/id}","deployments_url":"https://api.github.com/repos/elixir-addicts/rollbax/deployments","created_at":"2015-08-04T10:21:26Z","updated_at":"2016-04-16T12:50:07Z","pushed_at":"2016-04-22T04:59:41Z","git_url":"git://github.com/elixir-addicts/rollbax.git","ssh_url":"git@github.com:elixir-addicts/rollbax.git","clone_url":"https://github.com/elixir-addicts/rollbax.git","svn_url":"https://github.com/elixir-addicts/rollbax","homepage":"","size":22,"stargazers_count":49,"watchers_count":49,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":2,"forks":11,"open_issues":2,"watchers":49,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elixir-addicts/rollbax/pulls/18"},"html":{"href":"https://github.com/elixir-addicts/rollbax/pull/18"},"issue":{"href":"https://api.github.com/repos/elixir-addicts/rollbax/issues/18"},"comments":{"href":"https://api.github.com/repos/elixir-addicts/rollbax/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/elixir-addicts/rollbax/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/elixir-addicts/rollbax/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elixir-addicts/rollbax/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/elixir-addicts/rollbax/statuses/b5ad6863c52649e6098b36f2eda0e102f175f7d5"}}}}