{"action":"created","issue":{"url":"https://api.github.com/repos/magnars/prone/issues/44","repository_url":"https://api.github.com/repos/magnars/prone","labels_url":"https://api.github.com/repos/magnars/prone/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/magnars/prone/issues/44/comments","events_url":"https://api.github.com/repos/magnars/prone/issues/44/events","html_url":"https://github.com/magnars/prone/issues/44","id":191285220,"number":44,"title":"Prone does not catch AssertionErrors","user":{"login":"alephyud","id":8783519,"avatar_url":"https://avatars.githubusercontent.com/u/8783519?v=3","gravatar_id":"","url":"https://api.github.com/users/alephyud","html_url":"https://github.com/alephyud","followers_url":"https://api.github.com/users/alephyud/followers","following_url":"https://api.github.com/users/alephyud/following{/other_user}","gists_url":"https://api.github.com/users/alephyud/gists{/gist_id}","starred_url":"https://api.github.com/users/alephyud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alephyud/subscriptions","organizations_url":"https://api.github.com/users/alephyud/orgs","repos_url":"https://api.github.com/users/alephyud/repos","events_url":"https://api.github.com/users/alephyud/events{/privacy}","received_events_url":"https://api.github.com/users/alephyud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-23T14:29:36Z","updated_at":"2016-11-25T08:51:46Z","closed_at":null,"body":"At the moment `prone` catches [only](https://github.com/magnars/prone/blob/master/src/prone/middleware.clj#L126) `java.lang.Exception`s - which does not include `AssertionError`s, among other error classes.\r\n\r\nIs it intentional? Since `prone` is used in development, it would be good to be use it for debugging the code with assertions and pre- and post-conditions.\r\n\r\nWould you consider making `prone`'s middleware catch all `Error`s (or even any `Throwable`)? Or, alternatively, is there any other way to have the debug output for assertion failures?"},"comment":{"url":"https://api.github.com/repos/magnars/prone/issues/comments/262908210","html_url":"https://github.com/magnars/prone/issues/44#issuecomment-262908210","issue_url":"https://api.github.com/repos/magnars/prone/issues/44","id":262908210,"user":{"login":"alephyud","id":8783519,"avatar_url":"https://avatars.githubusercontent.com/u/8783519?v=3","gravatar_id":"","url":"https://api.github.com/users/alephyud","html_url":"https://github.com/alephyud","followers_url":"https://api.github.com/users/alephyud/followers","following_url":"https://api.github.com/users/alephyud/following{/other_user}","gists_url":"https://api.github.com/users/alephyud/gists{/gist_id}","starred_url":"https://api.github.com/users/alephyud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alephyud/subscriptions","organizations_url":"https://api.github.com/users/alephyud/orgs","repos_url":"https://api.github.com/users/alephyud/repos","events_url":"https://api.github.com/users/alephyud/events{/privacy}","received_events_url":"https://api.github.com/users/alephyud/received_events","type":"User","site_admin":false},"created_at":"2016-11-25T08:51:46Z","updated_at":"2016-11-25T08:51:46Z","body":"Right. I didn't understood well enough how JVM works.\r\n\r\nThen maybe just catching Exception and AssertionError would be a good idea?"}}
{"actor":{"display_login":"alephyud"}}