{"action":"opened","issue":{"url":"https://api.github.com/repos/strongloop/loopback/issues/1787","labels_url":"https://api.github.com/repos/strongloop/loopback/issues/1787/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback/issues/1787/comments","events_url":"https://api.github.com/repos/strongloop/loopback/issues/1787/events","html_url":"https://github.com/strongloop/loopback/issues/1787","id":114310004,"number":1787,"title":"Loopback creates a domain with no error handler","user":{"login":"priyavivek1","id":12853774,"avatar_url":"https://avatars.githubusercontent.com/u/12853774?v=3","gravatar_id":"","url":"https://api.github.com/users/priyavivek1","html_url":"https://github.com/priyavivek1","followers_url":"https://api.github.com/users/priyavivek1/followers","following_url":"https://api.github.com/users/priyavivek1/following{/other_user}","gists_url":"https://api.github.com/users/priyavivek1/gists{/gist_id}","starred_url":"https://api.github.com/users/priyavivek1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/priyavivek1/subscriptions","organizations_url":"https://api.github.com/users/priyavivek1/orgs","repos_url":"https://api.github.com/users/priyavivek1/repos","events_url":"https://api.github.com/users/priyavivek1/events{/privacy}","received_events_url":"https://api.github.com/users/priyavivek1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-30T16:50:40Z","updated_at":"2015-10-30T16:50:40Z","closed_at":null,"body":"It does that here: https://github.com/strongloop/loopback/blob/9a33602458712afecedd25062f02bd8b5c4e01a5/server/current-context.js#L35\r\n\r\nAnd that's a problem, because node doesn't invoke the uncaughtException handler when a Domain error goes uncaught. See https://github.com/nodejs/node/issues/3607.\r\n\r\nLoopback should have a reasonable default error handler, or provide me with an API to install one.\r\n\r\ncc @piscisaureus "}}