{"action":"created","issue":{"url":"https://api.github.com/repos/nodeca/js-yaml/issues/351","repository_url":"https://api.github.com/repos/nodeca/js-yaml","labels_url":"https://api.github.com/repos/nodeca/js-yaml/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/nodeca/js-yaml/issues/351/comments","events_url":"https://api.github.com/repos/nodeca/js-yaml/issues/351/events","html_url":"https://github.com/nodeca/js-yaml/issues/351","id":233555902,"number":351,"title":"CLI no longer provides location of error","user":{"login":"woodyrew","id":1902064,"avatar_url":"https://avatars2.githubusercontent.com/u/1902064?v=3","gravatar_id":"","url":"https://api.github.com/users/woodyrew","html_url":"https://github.com/woodyrew","followers_url":"https://api.github.com/users/woodyrew/followers","following_url":"https://api.github.com/users/woodyrew/following{/other_user}","gists_url":"https://api.github.com/users/woodyrew/gists{/gist_id}","starred_url":"https://api.github.com/users/woodyrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woodyrew/subscriptions","organizations_url":"https://api.github.com/users/woodyrew/orgs","repos_url":"https://api.github.com/users/woodyrew/repos","events_url":"https://api.github.com/users/woodyrew/events{/privacy}","received_events_url":"https://api.github.com/users/woodyrew/received_events","type":"User","site_admin":false},"labels":[{"id":176083,"url":"https://api.github.com/repos/nodeca/js-yaml/labels/bug","name":"bug","color":"e10c02","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-05T10:56:51Z","updated_at":"2017-06-05T21:25:21Z","closed_at":null,"body":"The CLI behaviour has changed between node `v6` and `v7`.\r\n\r\nNode `v6` with trace (`-t`) option - **Error and location**:\r\n```\r\n$ `npm bin`/js-yaml -t src/index.md\r\nYAMLException: can not read a block mapping entry; a multiline key may not be an implicit key at line 7, column 12:\r\n    description: \"Enterprise Content Management ... \r\n               ^\r\n    at generateError (...\r\n```\r\n\r\nNode `v7` with trace (`-t`) option - **No useful information**:\r\n```\r\n$ `npm bin`/js-yaml -t src/index.md\r\nError\r\n    at generateError (...\r\n```\r\n\r\nNode `v7` with compact (`-c`) option - **Error only**:\r\n```\r\n`npm bin`/js-yaml -c src/index.md\r\nYAMLException: can not read a block mapping entry; a multiline key may not be an implicit key\r\n```\r\n\r\nI assume this is due to Node no longer providing the same level of detail for errors?\r\nIs there a way to get the location of the error again in `v7`?"},"comment":{"url":"https://api.github.com/repos/nodeca/js-yaml/issues/comments/306314766","html_url":"https://github.com/nodeca/js-yaml/issues/351#issuecomment-306314766","issue_url":"https://api.github.com/repos/nodeca/js-yaml/issues/351","id":306314766,"user":{"login":"puzrin","id":319465,"avatar_url":"https://avatars1.githubusercontent.com/u/319465?v=3","gravatar_id":"","url":"https://api.github.com/users/puzrin","html_url":"https://github.com/puzrin","followers_url":"https://api.github.com/users/puzrin/followers","following_url":"https://api.github.com/users/puzrin/following{/other_user}","gists_url":"https://api.github.com/users/puzrin/gists{/gist_id}","starred_url":"https://api.github.com/users/puzrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puzrin/subscriptions","organizations_url":"https://api.github.com/users/puzrin/orgs","repos_url":"https://api.github.com/users/puzrin/repos","events_url":"https://api.github.com/users/puzrin/events{/privacy}","received_events_url":"https://api.github.com/users/puzrin/received_events","type":"User","site_admin":false},"created_at":"2017-06-05T21:25:21Z","updated_at":"2017-06-05T21:25:21Z","body":"Interesting. I don't use CLI and don't track what happens there.\r\n\r\nSeems to be a bug."}}
{"actor":{"display_login":"puzrin"}}