{"action":"closed","issue":{"url":"https://api.github.com/repos/asenchi/scrolls/issues/60","repository_url":"https://api.github.com/repos/asenchi/scrolls","labels_url":"https://api.github.com/repos/asenchi/scrolls/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/asenchi/scrolls/issues/60/comments","events_url":"https://api.github.com/repos/asenchi/scrolls/issues/60/events","html_url":"https://github.com/asenchi/scrolls/issues/60","id":31206220,"number":60,"title":"Log.log_exception() has a confusing interface","user":{"login":"eric","id":470,"avatar_url":"https://avatars3.githubusercontent.com/u/470?v=4","gravatar_id":"","url":"https://api.github.com/users/eric","html_url":"https://github.com/eric","followers_url":"https://api.github.com/users/eric/followers","following_url":"https://api.github.com/users/eric/following{/other_user}","gists_url":"https://api.github.com/users/eric/gists{/gist_id}","starred_url":"https://api.github.com/users/eric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eric/subscriptions","organizations_url":"https://api.github.com/users/eric/orgs","repos_url":"https://api.github.com/users/eric/repos","events_url":"https://api.github.com/users/eric/events{/privacy}","received_events_url":"https://api.github.com/users/eric/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2014-04-10T00:23:58Z","updated_at":"2017-08-31T23:37:52Z","closed_at":"2017-08-31T23:37:52Z","author_association":"NONE","body":"I noticed the example shows using `Scrolls.log_exception(:at => \"raise\", e)` but ruby needs `{}` around the hash when it isn't the last argument: `Scrolls.log_exception({:at => \"raise\"}, e)`.\n\nI had two questions:\n1. Why is a hash required? Sometimes I've put everything I care about in the context already and just need to log the exception.\n2. Why isn't the hash at the end so it doesn't need the `{}` around it?\n"}}
{"actor":{"display_login":"asenchi"}}