{"action":"opened","issue":{"url":"https://api.github.com/repos/restify/node-restify/issues/1653","repository_url":"https://api.github.com/repos/restify/node-restify","labels_url":"https://api.github.com/repos/restify/node-restify/issues/1653/labels{/name}","comments_url":"https://api.github.com/repos/restify/node-restify/issues/1653/comments","events_url":"https://api.github.com/repos/restify/node-restify/issues/1653/events","html_url":"https://github.com/restify/node-restify/issues/1653","id":320044156,"number":1653,"title":"What is alternative to handleUncaughtExceptions parameter?","user":{"login":"jonatasfreitasv","id":8763192,"avatar_url":"https://avatars2.githubusercontent.com/u/8763192?v=4","gravatar_id":"","url":"https://api.github.com/users/jonatasfreitasv","html_url":"https://github.com/jonatasfreitasv","followers_url":"https://api.github.com/users/jonatasfreitasv/followers","following_url":"https://api.github.com/users/jonatasfreitasv/following{/other_user}","gists_url":"https://api.github.com/users/jonatasfreitasv/gists{/gist_id}","starred_url":"https://api.github.com/users/jonatasfreitasv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonatasfreitasv/subscriptions","organizations_url":"https://api.github.com/users/jonatasfreitasv/orgs","repos_url":"https://api.github.com/users/jonatasfreitasv/repos","events_url":"https://api.github.com/users/jonatasfreitasv/events{/privacy}","received_events_url":"https://api.github.com/users/jonatasfreitasv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-03T19:10:39Z","updated_at":"2018-05-03T19:10:39Z","closed_at":null,"author_association":"NONE","body":"When active handleUncaughtExceptions:\r\n\r\n```js\r\nthis.server = restify.createServer({\r\n    handleUncaughtExceptions: true\r\n});\r\n```\r\n\r\nShow this message:\r\n`DEPRECATION WARNING: Due to deprecation of the domain module in node.js, all features in restify that depend on it have been deprecated as well. This includes `handleUncaughtExceptions` and `next.ifError()`. They will continue to work in 5.x, but consider them unsupported and likely to be removed from future versions of restify.`\r\n\r\nWhat is the best way to have this feature but no use handleUncaughtExceptions parameter?"}}
{"actor":{"display_login":"jonatasfreitasv"}}