{"action":"created","issue":{"url":"https://api.github.com/repos/libuv/libuv/issues/1948","repository_url":"https://api.github.com/repos/libuv/libuv","labels_url":"https://api.github.com/repos/libuv/libuv/issues/1948/labels{/name}","comments_url":"https://api.github.com/repos/libuv/libuv/issues/1948/comments","events_url":"https://api.github.com/repos/libuv/libuv/issues/1948/events","html_url":"https://github.com/libuv/libuv/issues/1948","id":350835881,"node_id":"MDU6SXNzdWUzNTA4MzU4ODE=","number":1948,"title":"A better abort?","user":{"login":"abrownsword","id":9805159,"node_id":"MDQ6VXNlcjk4MDUxNTk=","avatar_url":"https://avatars0.githubusercontent.com/u/9805159?v=4","gravatar_id":"","url":"https://api.github.com/users/abrownsword","html_url":"https://github.com/abrownsword","followers_url":"https://api.github.com/users/abrownsword/followers","following_url":"https://api.github.com/users/abrownsword/following{/other_user}","gists_url":"https://api.github.com/users/abrownsword/gists{/gist_id}","starred_url":"https://api.github.com/users/abrownsword/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abrownsword/subscriptions","organizations_url":"https://api.github.com/users/abrownsword/orgs","repos_url":"https://api.github.com/users/abrownsword/repos","events_url":"https://api.github.com/users/abrownsword/events{/privacy}","received_events_url":"https://api.github.com/users/abrownsword/received_events","type":"User","site_admin":false},"labels":[{"id":68370105,"node_id":"MDU6TGFiZWw2ODM3MDEwNQ==","url":"https://api.github.com/repos/libuv/libuv/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":163844368,"node_id":"MDU6TGFiZWwxNjM4NDQzNjg=","url":"https://api.github.com/repos/libuv/libuv/labels/feature-request","name":"feature-request","color":"fad8c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-15T14:41:58Z","updated_at":"2018-09-01T17:31:15Z","closed_at":null,"author_association":"NONE","body":"My libuv-based program is throwing an abort from inside of the libuv run loop, and all I get is \"Aborted.\" printed to stderr.  A quick search of the libuv source shows that there are many calls to abort().  It would be most helpful if the abort was accompanied by a message, at least in a debug build (but preferably in all builds since this is code that is outside of the normal execution flow).  Not all environments have a debugger that can readily assist in figuring this out automatically.\r\n\r\nEach abort call site could include a text message to send to stderr, even better would be to have a formatted one that includes parameters related to the failure.  At a minimum it ought to include the __FILE__ and __LINE__ information from the abort call site to assist in determining where it is coming from.  Another alternative would be to have an abort function vector that the application can override, but this too should take parameters."},"comment":{"url":"https://api.github.com/repos/libuv/libuv/issues/comments/417875077","html_url":"https://github.com/libuv/libuv/issues/1948#issuecomment-417875077","issue_url":"https://api.github.com/repos/libuv/libuv/issues/1948","id":417875077,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzg3NTA3Nw==","user":{"login":"abrownsword","id":9805159,"node_id":"MDQ6VXNlcjk4MDUxNTk=","avatar_url":"https://avatars0.githubusercontent.com/u/9805159?v=4","gravatar_id":"","url":"https://api.github.com/users/abrownsword","html_url":"https://github.com/abrownsword","followers_url":"https://api.github.com/users/abrownsword/followers","following_url":"https://api.github.com/users/abrownsword/following{/other_user}","gists_url":"https://api.github.com/users/abrownsword/gists{/gist_id}","starred_url":"https://api.github.com/users/abrownsword/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abrownsword/subscriptions","organizations_url":"https://api.github.com/users/abrownsword/orgs","repos_url":"https://api.github.com/users/abrownsword/repos","events_url":"https://api.github.com/users/abrownsword/events{/privacy}","received_events_url":"https://api.github.com/users/abrownsword/received_events","type":"User","site_admin":false},"created_at":"2018-09-01T17:31:15Z","updated_at":"2018-09-01T17:31:15Z","author_association":"NONE","body":"Most projects I've worked on include at a minimum and FILE/LINE information, which needs to be done at compile time, and it is always a significant win.  Understood that it is a non-trivial effort to achieve, but it would be a worthwhile usability improvement."}}
{"actor":{"display_login":"abrownsword"}}