{"action":"created","issue":{"url":"https://api.github.com/repos/Ullink/simple-slack-api/issues/128","repository_url":"https://api.github.com/repos/Ullink/simple-slack-api","labels_url":"https://api.github.com/repos/Ullink/simple-slack-api/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/Ullink/simple-slack-api/issues/128/comments","events_url":"https://api.github.com/repos/Ullink/simple-slack-api/issues/128/events","html_url":"https://github.com/Ullink/simple-slack-api/pull/128","id":176259874,"number":128,"title":"log type of UNKNOWN events when throwing on them","user":{"login":"clenart","id":2520551,"avatar_url":"https://avatars.githubusercontent.com/u/2520551?v=3","gravatar_id":"","url":"https://api.github.com/users/clenart","html_url":"https://github.com/clenart","followers_url":"https://api.github.com/users/clenart/followers","following_url":"https://api.github.com/users/clenart/following{/other_user}","gists_url":"https://api.github.com/users/clenart/gists{/gist_id}","starred_url":"https://api.github.com/users/clenart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clenart/subscriptions","organizations_url":"https://api.github.com/users/clenart/orgs","repos_url":"https://api.github.com/users/clenart/repos","events_url":"https://api.github.com/users/clenart/events{/privacy}","received_events_url":"https://api.github.com/users/clenart/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-11T19:16:48Z","updated_at":"2016-09-16T05:47:11Z","closed_at":"2016-09-16T05:46:59Z","pull_request":{"url":"https://api.github.com/repos/Ullink/simple-slack-api/pulls/128","html_url":"https://github.com/Ullink/simple-slack-api/pull/128","diff_url":"https://github.com/Ullink/simple-slack-api/pull/128.diff","patch_url":"https://github.com/Ullink/simple-slack-api/pull/128.patch"},"body":"motivation:\r\n\r\nwhen an unknown event occurs, this is logged:\r\n\r\n11:56:14.337 [Grizzly(2)] ERROR c.u.s.s.i.SlackWebSocketSessionImpl - Endpoint#onError called\r\njava.lang.IllegalArgumentException: event not handled com.ullink.slack.simpleslackapi.events.SlackEvent$1@70a36547\r\n\tat com.ullink.slack.simpleslackapi.impl.SlackWebSocketSessionImpl$EventDispatcher.dispatch(SlackWebSocketSessionImpl.java:206) ~[simple-slack-api-f1aacf20c28cfc4b96aa29067f7f0faa5594c664.jar:na]\r\n\r\nnot useful without the event type\r\n\r\nchanges:\r\n\r\n* log event type in exception message"},"comment":{"url":"https://api.github.com/repos/Ullink/simple-slack-api/issues/comments/247523101","html_url":"https://github.com/Ullink/simple-slack-api/pull/128#issuecomment-247523101","issue_url":"https://api.github.com/repos/Ullink/simple-slack-api/issues/128","id":247523101,"user":{"login":"bcorne","id":8577305,"avatar_url":"https://avatars.githubusercontent.com/u/8577305?v=3","gravatar_id":"","url":"https://api.github.com/users/bcorne","html_url":"https://github.com/bcorne","followers_url":"https://api.github.com/users/bcorne/followers","following_url":"https://api.github.com/users/bcorne/following{/other_user}","gists_url":"https://api.github.com/users/bcorne/gists{/gist_id}","starred_url":"https://api.github.com/users/bcorne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcorne/subscriptions","organizations_url":"https://api.github.com/users/bcorne/orgs","repos_url":"https://api.github.com/users/bcorne/repos","events_url":"https://api.github.com/users/bcorne/events{/privacy}","received_events_url":"https://api.github.com/users/bcorne/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T05:47:11Z","updated_at":"2016-09-16T05:47:11Z","body":"and... thanks again :)"}}
{"actor":{"display_login":"bcorne"}}