{"action":"opened","issue":{"url":"https://api.github.com/repos/puniverse/quasar/issues/77","labels_url":"https://api.github.com/repos/puniverse/quasar/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/puniverse/quasar/issues/77/comments","events_url":"https://api.github.com/repos/puniverse/quasar/issues/77/events","html_url":"https://github.com/puniverse/quasar/issues/77","id":57689766,"number":77,"title":"gratuitous reporting of exceptions in fibers","user":{"login":"dehubbed","id":625035,"avatar_url":"https://avatars.githubusercontent.com/u/625035?v=3","gravatar_id":"","url":"https://api.github.com/users/dehubbed","html_url":"https://github.com/dehubbed","followers_url":"https://api.github.com/users/dehubbed/followers","following_url":"https://api.github.com/users/dehubbed/following{/other_user}","gists_url":"https://api.github.com/users/dehubbed/gists{/gist_id}","starred_url":"https://api.github.com/users/dehubbed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dehubbed/subscriptions","organizations_url":"https://api.github.com/users/dehubbed/orgs","repos_url":"https://api.github.com/users/dehubbed/repos","events_url":"https://api.github.com/users/dehubbed/events{/privacy}","received_events_url":"https://api.github.com/users/dehubbed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-14T11:04:36Z","updated_at":"2015-02-14T11:04:36Z","closed_at":null,"body":"An exception thrown in a fiber, e.g. (from pulsar):\r\n````\r\n(spawn-fiber #(/ 1 0))\r\n````\r\ngets reported on the console, with a stack trace:\r\n````\r\nException in Fiber \"fiber-10000001\" java.lang.ArithmeticException: Divide by zero\r\n\tat clojure.lang.Numbers.divide(Numbers.java:156)\r\n\tat clojure.lang.Numbers.divide(Numbers.java:3731)\r\n\tat clj_ccnr.reactive$eval2193$fn__2194.invoke(NO_SOURCE_FILE:1)\r\n\tat co.paralleluniverse.pulsar.InstrumentedIFn.invoke(InstrumentedIFn.java:32)\r\n\tat co.paralleluniverse.pulsar.ClojureHelper.suspendableInvoke(ClojureHelper.java:185)\r\n\tat co.paralleluniverse.pulsar.ClojureHelper$3.run(ClojureHelper.java:172)\r\n\tat co.paralleluniverse.fibers.Fiber.run(Fiber.java:1003\r\n````\r\nIn particular I start and cancel a lot of futures/fibers:\r\n````\r\n(def f (spawn-fiber #(deref (promise))))\r\n(future-cancel f)\r\n````\r\nEach time I get:\r\n````\r\nException in Fiber \"fiber-10000001\" java.lang.RuntimeException: java.lang.InterruptedException\r\n\tat co.paralleluniverse.fibers.Fiber.exec(Fiber.java:763)\r\n\tat co.paralleluniverse.fibers.FiberForkJoinScheduler$FiberForkJoinTask.exec1(FiberForkJoinScheduler.java:248)\r\n\tat co.paralleluniverse.concurrent.forkjoin.ParkableForkJoinTask.doExec(ParkableForkJoinTask.java:116)\r\n\tat co.paralleluniverse.concurrent.forkjoin.ParkableForkJoinTask.exec(ParkableForkJoinTask.java:73)\r\n\tat jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:261)\r\n\tat jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:988)\r\n\tat jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1628)\r\n\tat jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)\r\n````\r\nCan this be switched off? Somehow I can't even find the code in Quasar that does the printStackTrace.\r\n"}}