{"action":"created","issue":{"url":"https://api.github.com/repos/sidorares/node-dbus/issues/122","repository_url":"https://api.github.com/repos/sidorares/node-dbus","labels_url":"https://api.github.com/repos/sidorares/node-dbus/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/sidorares/node-dbus/issues/122/comments","events_url":"https://api.github.com/repos/sidorares/node-dbus/issues/122/events","html_url":"https://github.com/sidorares/node-dbus/issues/122","id":176588556,"number":122,"title":"bus.sendError() disconnects from the bus","user":{"login":"nschoe","id":336111,"avatar_url":"https://avatars.githubusercontent.com/u/336111?v=3","gravatar_id":"","url":"https://api.github.com/users/nschoe","html_url":"https://github.com/nschoe","followers_url":"https://api.github.com/users/nschoe/followers","following_url":"https://api.github.com/users/nschoe/following{/other_user}","gists_url":"https://api.github.com/users/nschoe/gists{/gist_id}","starred_url":"https://api.github.com/users/nschoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nschoe/subscriptions","organizations_url":"https://api.github.com/users/nschoe/orgs","repos_url":"https://api.github.com/users/nschoe/repos","events_url":"https://api.github.com/users/nschoe/events{/privacy}","received_events_url":"https://api.github.com/users/nschoe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-13T09:09:21Z","updated_at":"2016-09-13T09:27:35Z","closed_at":null,"body":"I'm trying to use the `sendError()` function to return some errors to a method call, but when I do that, the services disconnects form the bus without sending the answer. At the other end, the method caller returns with \"recipient disconnecting without replying\".\r\n\r\nThis is much infortunate because it seems I can't return some errors to the caller. I can't seem to track the moment it happens.\r\n\r\n`sendError()` calls `connection.message()`, which just marshals the message. I have put some `console.log()` in the `stream.on('end')` event, which does get called, but I cannot find where or what causes the stream to end.\r\n\r\nCan someone point me to the right direction?\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/sidorares/node-dbus/issues/comments/246626087","html_url":"https://github.com/sidorares/node-dbus/issues/122#issuecomment-246626087","issue_url":"https://api.github.com/repos/sidorares/node-dbus/issues/122","id":246626087,"user":{"login":"nschoe","id":336111,"avatar_url":"https://avatars.githubusercontent.com/u/336111?v=3","gravatar_id":"","url":"https://api.github.com/users/nschoe","html_url":"https://github.com/nschoe","followers_url":"https://api.github.com/users/nschoe/followers","following_url":"https://api.github.com/users/nschoe/following{/other_user}","gists_url":"https://api.github.com/users/nschoe/gists{/gist_id}","starred_url":"https://api.github.com/users/nschoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nschoe/subscriptions","organizations_url":"https://api.github.com/users/nschoe/orgs","repos_url":"https://api.github.com/users/nschoe/repos","events_url":"https://api.github.com/users/nschoe/events{/privacy}","received_events_url":"https://api.github.com/users/nschoe/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T09:27:35Z","updated_at":"2016-09-13T09:27:35Z","body":"Hum maybe I can try. This is a tricky setup that I have, since I have the scripts run in a Docker container. What filter do I sue on wireshark to get those packets? On what interface should I listen?"}}
{"actor":{"display_login":"nschoe"}}