{"action":"opened","issue":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/3084","repository_url":"https://api.github.com/repos/Project-OSRM/osrm-backend","labels_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/3084/labels{/name}","comments_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/3084/comments","events_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/3084/events","html_url":"https://github.com/Project-OSRM/osrm-backend/issues/3084","id":183726966,"number":3084,"title":"Report LUA errors","user":{"login":"emiltin","id":66034,"avatar_url":"https://avatars.githubusercontent.com/u/66034?v=3","gravatar_id":"","url":"https://api.github.com/users/emiltin","html_url":"https://github.com/emiltin","followers_url":"https://api.github.com/users/emiltin/followers","following_url":"https://api.github.com/users/emiltin/following{/other_user}","gists_url":"https://api.github.com/users/emiltin/gists{/gist_id}","starred_url":"https://api.github.com/users/emiltin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emiltin/subscriptions","organizations_url":"https://api.github.com/users/emiltin/orgs","repos_url":"https://api.github.com/users/emiltin/repos","events_url":"https://api.github.com/users/emiltin/events{/privacy}","received_events_url":"https://api.github.com/users/emiltin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-18T15:49:15Z","updated_at":"2016-10-18T15:49:15Z","closed_at":null,"body":"Working on rebasing/updating ##2032, I found that LUA errors (eg. syntax errors or nil objects) are not reported when running cucumber tests, nor are there any reference to LUA file or line number. All I get is a generic 'osrm-extract killed'. This makes working on LUA profiles and refactoring hard.\r\n\r\nExample\r\n\r\n```\r\n1) Scenario: Car - Use motorway_link when reasonable - features/car/link.feature:10\r\n   Step: When I route I should get - features/car/link.feature:28\r\n   Step Definition: features/step_definitions/routing.js:4\r\n   Message:\r\n     Error: osrm-extract killed by signal SIGABRT: /Users/emil/code/osrm-backend/build/osrm-extract --profile /Users/emil/code/osrm-backend/profiles/car.lua /Users/emil/code/osrm-backend/test/cache/car/link.feature/0fe4f83497f36d2320eb952191ee01f7/fe94ae7c9b17d24c18f1cf1c8995ef10/10_car_use_motorway_link_when_reasonable.osm\r\n         at /Users/emil/code/osrm-backend/features/support/data.js:174:37\r\n         at ChildProcess.exithandler (child_process.js:209:5)\r\n         at emitTwo (events.js:100:13)\r\n         at ChildProcess.emit (events.js:185:7)\r\n         at maybeClose (internal/child_process.js:827:16)\r\n         at Socket.<anonymous> (internal/child_process.js:319:11)\r\n         at emitOne (events.js:90:13)\r\n         at Socket.emit (events.js:182:7)\r\n         at Pipe._onclose (net.js:475:12)\r\n```\r\n"}}
{"actor":{"display_login":"emiltin"}}