{"action":"created","issue":{"url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/123","labels_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/123/comments","events_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/123/events","html_url":"https://github.com/SocketCluster/socketcluster/issues/123","id":113636872,"number":123,"title":"next(true) doesn't seem to work","user":{"login":"Anaphase","id":2358694,"avatar_url":"https://avatars.githubusercontent.com/u/2358694?v=3","gravatar_id":"","url":"https://api.github.com/users/Anaphase","html_url":"https://github.com/Anaphase","followers_url":"https://api.github.com/users/Anaphase/followers","following_url":"https://api.github.com/users/Anaphase/following{/other_user}","gists_url":"https://api.github.com/users/Anaphase/gists{/gist_id}","starred_url":"https://api.github.com/users/Anaphase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anaphase/subscriptions","organizations_url":"https://api.github.com/users/Anaphase/orgs","repos_url":"https://api.github.com/users/Anaphase/repos","events_url":"https://api.github.com/users/Anaphase/events{/privacy}","received_events_url":"https://api.github.com/users/Anaphase/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-27T17:24:50Z","updated_at":"2015-11-02T15:10:51Z","closed_at":"2015-11-02T12:29:33Z","body":"Forgive me if my understanding is wrong, but according to [the single example on this page](http://socketcluster.io/#!/docs/middleware-and-authorization) it appears as if calling `next(true)` within middleware should prevent the event from being published without raising a notice. I can't seem to get this functionality to work; I always get an error like this:\r\n\r\n```\r\n1445966195626 - Origin: Master\r\n    [Error] TypeError: Cannot read property 'stack' of undefined\r\n  at EventEmitter.SocketCluster.noticeHandler (/Users/user-name/project-name/node_modules/socketcluster/index.js:334:13)\r\n  at EventEmitter.SocketCluster._workerNoticeHandler (/Users/user-name/project-name/node_modules/socketcluster/index.js:403:8)\r\n  at ChildProcess.workerHandler (/Users/user-name/project-name/node_modules/socketcluster/index.js:497:12)\r\n  at ChildProcess.emit (events.js:98:17)\r\n  at handleMessage (child_process.js:322:10)\r\n  at Pipe.channel.onread (child_process.js:349:11)\r\n```\r\n\r\nSince this feature is documented poorly (it's just a comment in an example...), I may be interpreting it wrong, but after perusing the source the can't seem to find anything that would handle `next(true)`... The above error is coming from [SocketCluster.prototype.noticeHandler](https://github.com/SocketCluster/socketcluster/blob/601b42f7e057f9fa9c69cdd0fc84751e7ba8d44d/index.js#L334) - should there be some sort of check [on this line](https://github.com/SocketCluster/socketcluster/blob/601b42f7e057f9fa9c69cdd0fc84751e7ba8d44d/index.js#L497) or in [SocketCluster.prototype._workerNoticeHandler](https://github.com/SocketCluster/socketcluster/blob/601b42f7e057f9fa9c69cdd0fc84751e7ba8d44d/index.js#L398) to check if the error is `true`? Maybe I'm missing something here..."},"comment":{"url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/comments/153047878","html_url":"https://github.com/SocketCluster/socketcluster/issues/123#issuecomment-153047878","issue_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/123","id":153047878,"user":{"login":"Anaphase","id":2358694,"avatar_url":"https://avatars.githubusercontent.com/u/2358694?v=3","gravatar_id":"","url":"https://api.github.com/users/Anaphase","html_url":"https://github.com/Anaphase","followers_url":"https://api.github.com/users/Anaphase/followers","following_url":"https://api.github.com/users/Anaphase/following{/other_user}","gists_url":"https://api.github.com/users/Anaphase/gists{/gist_id}","starred_url":"https://api.github.com/users/Anaphase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anaphase/subscriptions","organizations_url":"https://api.github.com/users/Anaphase/orgs","repos_url":"https://api.github.com/users/Anaphase/repos","events_url":"https://api.github.com/users/Anaphase/events{/privacy}","received_events_url":"https://api.github.com/users/Anaphase/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T15:10:51Z","updated_at":"2015-11-02T15:10:51Z","body":"Thanks! This helps fix an annoying bug in my server."}}