{"action":"created","issue":{"url":"https://api.github.com/repos/clojure-emacs/cider-nrepl/issues/327","repository_url":"https://api.github.com/repos/clojure-emacs/cider-nrepl","labels_url":"https://api.github.com/repos/clojure-emacs/cider-nrepl/issues/327/labels{/name}","comments_url":"https://api.github.com/repos/clojure-emacs/cider-nrepl/issues/327/comments","events_url":"https://api.github.com/repos/clojure-emacs/cider-nrepl/issues/327/events","html_url":"https://github.com/clojure-emacs/cider-nrepl/pull/327","id":144805974,"number":327,"title":"Abstract away op error handling","user":{"login":"sanjayl","id":7213170,"avatar_url":"https://avatars.githubusercontent.com/u/7213170?v=3","gravatar_id":"","url":"https://api.github.com/users/sanjayl","html_url":"https://github.com/sanjayl","followers_url":"https://api.github.com/users/sanjayl/followers","following_url":"https://api.github.com/users/sanjayl/following{/other_user}","gists_url":"https://api.github.com/users/sanjayl/gists{/gist_id}","starred_url":"https://api.github.com/users/sanjayl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanjayl/subscriptions","organizations_url":"https://api.github.com/users/sanjayl/orgs","repos_url":"https://api.github.com/users/sanjayl/repos","events_url":"https://api.github.com/users/sanjayl/events{/privacy}","received_events_url":"https://api.github.com/users/sanjayl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-31T06:42:34Z","updated_at":"2016-04-01T03:05:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/clojure-emacs/cider-nrepl/pulls/327","html_url":"https://github.com/clojure-emacs/cider-nrepl/pull/327","diff_url":"https://github.com/clojure-emacs/cider-nrepl/pull/327.diff","patch_url":"https://github.com/clojure-emacs/cider-nrepl/pull/327.patch"},"body":"Before submitting a PR make sure the following things have been done:\r\n\r\n- [x ] The commits are consistent with our [contribution guidelines](CONTRIBUTING.md)\r\n- [ x] You've added tests to cover your change(s)\r\n- [ x] All tests are passing\r\n- [ x] The new code is not generating reflection warnings\r\n- [ ] You've updated the readme (if adding/changing middleware)\r\n\r\nThanks!\r\n\r\nA new util ns in `cider.nrepl.middleware.util.error-handling` which\r\nprovides the `with-safe-transport` macro, abstracting away transport,\r\nerror handling, and stacktrace analysis. Most middlewares were updated\r\nto use this system, and the tests were updated to reflect these changes.\r\n\r\nIn order to utilize the nicely formatted stacktraces stuffed into these\r\nresponses, concurrent changes have been made to CIDER and will be\r\nsubmitted as a PR as well."},"comment":{"url":"https://api.github.com/repos/clojure-emacs/cider-nrepl/issues/comments/204224124","html_url":"https://github.com/clojure-emacs/cider-nrepl/pull/327#issuecomment-204224124","issue_url":"https://api.github.com/repos/clojure-emacs/cider-nrepl/issues/327","id":204224124,"user":{"login":"Malabarba","id":453029,"avatar_url":"https://avatars.githubusercontent.com/u/453029?v=3","gravatar_id":"","url":"https://api.github.com/users/Malabarba","html_url":"https://github.com/Malabarba","followers_url":"https://api.github.com/users/Malabarba/followers","following_url":"https://api.github.com/users/Malabarba/following{/other_user}","gists_url":"https://api.github.com/users/Malabarba/gists{/gist_id}","starred_url":"https://api.github.com/users/Malabarba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Malabarba/subscriptions","organizations_url":"https://api.github.com/users/Malabarba/orgs","repos_url":"https://api.github.com/users/Malabarba/repos","events_url":"https://api.github.com/users/Malabarba/events{/privacy}","received_events_url":"https://api.github.com/users/Malabarba/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T03:05:49Z","updated_at":"2016-04-01T03:05:49Z","body":"Oops, long night. I meant to ping @cemerick \r\nDo you know if there's a way to ensure that a midddleware gets placed above all others in nREPL?"}}