{"action":"opened","issue":{"url":"https://api.github.com/repos/aurelia/event-aggregator/issues/26","repository_url":"https://api.github.com/repos/aurelia/event-aggregator","labels_url":"https://api.github.com/repos/aurelia/event-aggregator/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/event-aggregator/issues/26/comments","events_url":"https://api.github.com/repos/aurelia/event-aggregator/issues/26/events","html_url":"https://github.com/aurelia/event-aggregator/issues/26","id":185686884,"number":26,"title":"Chrome console not outputting error thrown in subscribe callback","user":{"login":"BuildingJarl","id":5493114,"avatar_url":"https://avatars.githubusercontent.com/u/5493114?v=3","gravatar_id":"","url":"https://api.github.com/users/BuildingJarl","html_url":"https://github.com/BuildingJarl","followers_url":"https://api.github.com/users/BuildingJarl/followers","following_url":"https://api.github.com/users/BuildingJarl/following{/other_user}","gists_url":"https://api.github.com/users/BuildingJarl/gists{/gist_id}","starred_url":"https://api.github.com/users/BuildingJarl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BuildingJarl/subscriptions","organizations_url":"https://api.github.com/users/BuildingJarl/orgs","repos_url":"https://api.github.com/users/BuildingJarl/repos","events_url":"https://api.github.com/users/BuildingJarl/events{/privacy}","received_events_url":"https://api.github.com/users/BuildingJarl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-27T14:36:17Z","updated_at":"2016-10-27T14:36:17Z","closed_at":null,"body":"<!--\r\nBUGS: Please use this template.\r\n\r\nSUPPORT REQUESTS/QUESTIONS: If you have a support request or question please\r\nsubmit them to StackOverflow using the tags aurelia and aurelia-framework\r\nhttp://stackoverflow.com/questions/tagged/aurelia\r\nor the Aurelia Gitter https://gitter.im/aurelia/discuss\r\n\r\nBlue Spire offers paid support agreements. Further information regarding paid support\r\nmay be obtained by emailing support@bluespire.com\r\n\r\nFuture support requests submitted here will be closed.\r\n\r\nThe HTML comments below are for your reference, and are not displayed\r\nwhen your issue is submitted, feel free to leave them.\r\n\r\nChoose one of the two headings, delete the other.\r\n-->\r\n**I'm submitting a bug report**\r\n\r\n* **Library Version:**\r\n1.0.0\r\n\r\n\r\n**Please tell us about your environment:**\r\n* **Operating System:**\r\nOSX 10.12.1\r\n\r\n* **Node Version:**\r\n6.6.0\r\n<!--\r\nMinimum supported Node version is latest Node 4.x LTS\r\nrun `node -v`\r\n-->\r\n\r\n* **NPM Version:**\r\n3.10.3\r\n<!--\r\nMinimum supported NPM version is 3.x\r\nrun `npm -v`\r\n-->\r\n\r\n* **JSPM OR Webpack AND Version**\r\nJSPM 0.16.47\r\n<!--\r\nIf using JSPM\r\nrun `jspm -v`\r\nIf using Webpack\r\nrun `webpack --help | grep webpack`\r\n-->\r\n\r\n* **Browser:**\r\nChrome 54.0.2840.71 (64-bit)\r\n\r\n* **Language:**\r\nESNext\r\n\r\n\r\n**Current behavior:**\r\nIf an error is thrown in a subscribe callback e.g.\r\n```\r\neventAggregator.subscribe('some_event', ()=>{\r\n    //some error here\r\n})\r\n```\r\nerror is not output in chrome console. If a breakpoint is set, then error can be seen being caught by catch statement. Please see image below\r\n\r\n![screen shot 2016-10-27 at 15 31 52](https://cloud.githubusercontent.com/assets/5493114/19771480/f8118b68-9c5a-11e6-82ad-cfdb49d8d635.png)\r\n\r\n\r\n\r\n\r\n\r\n**Expected/desired behavior:**\r\n<!--\r\nIf the current behavior is a bug, please provide the steps to reproduce and, if possible, a minimal demo of the\r\nproblem along with a runnable gist, if possible.\r\nTo create a runnable gist, go to https://gist.run/?id=7542e061bc940cde506b&sha=6821c521a6c7bae6f59a36fb8628ecd1032b2d10\r\nThen click \"Fork to Public Gist\".\r\nCreate your gist, then finally click \"Update Gist.\" Include a link to the gist.run below.\r\n-->\r\n\r\n\r\n* **What is the expected behavior?**\r\n\r\n* **What is the motivation / use case for changing the behavior?**\r\n"}}
{"actor":{"display_login":"BuildingJarl"}}