{"action":"created","issue":{"url":"https://api.github.com/repos/postmanlabs/postman-app-support/issues/1567","labels_url":"https://api.github.com/repos/postmanlabs/postman-app-support/issues/1567/labels{/name}","comments_url":"https://api.github.com/repos/postmanlabs/postman-app-support/issues/1567/comments","events_url":"https://api.github.com/repos/postmanlabs/postman-app-support/issues/1567/events","html_url":"https://github.com/postmanlabs/postman-app-support/issues/1567","id":116787530,"number":1567,"title":"newman  - Getting the error message to show on console","user":{"login":"haridak","id":6343552,"avatar_url":"https://avatars.githubusercontent.com/u/6343552?v=3","gravatar_id":"","url":"https://api.github.com/users/haridak","html_url":"https://github.com/haridak","followers_url":"https://api.github.com/users/haridak/followers","following_url":"https://api.github.com/users/haridak/following{/other_user}","gists_url":"https://api.github.com/users/haridak/gists{/gist_id}","starred_url":"https://api.github.com/users/haridak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haridak/subscriptions","organizations_url":"https://api.github.com/users/haridak/orgs","repos_url":"https://api.github.com/users/haridak/repos","events_url":"https://api.github.com/users/haridak/events{/privacy}","received_events_url":"https://api.github.com/users/haridak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-13T15:15:37Z","updated_at":"2015-11-14T05:53:42Z","closed_at":null,"body":"Hi,\r\nWe run the API collection through Jenkins on a schedule. Each API call has some tests.\r\nThe error message displayed in the console is related to the tests. E.g. if the test is looking for a particular id, the error message displayed in the console is something like - cannot find the id.\r\nDo we have a  way to display the \"message\" from output if the status_code is 500? That would actually give a better idea about the problem.\r\nResponse when run through Postman\r\n```\r\n  \"meta\": {\r\n    \"message\": \"undefined method `duplicate_gate_code' for #<Ledger:2323232>\",\r\n    \"status_code\": 500,\r\n```\r\nResponse when run from console\r\n```\r\n EXCEPTION - TypeError: Cannot read property 'ledger_id' of undefined\r\n```"},"comment":{"url":"https://api.github.com/repos/postmanlabs/postman-app-support/issues/comments/156640774","html_url":"https://github.com/postmanlabs/postman-app-support/issues/1567#issuecomment-156640774","issue_url":"https://api.github.com/repos/postmanlabs/postman-app-support/issues/1567","id":156640774,"user":{"login":"abhijitkane","id":681190,"avatar_url":"https://avatars.githubusercontent.com/u/681190?v=3","gravatar_id":"","url":"https://api.github.com/users/abhijitkane","html_url":"https://github.com/abhijitkane","followers_url":"https://api.github.com/users/abhijitkane/followers","following_url":"https://api.github.com/users/abhijitkane/following{/other_user}","gists_url":"https://api.github.com/users/abhijitkane/gists{/gist_id}","starred_url":"https://api.github.com/users/abhijitkane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhijitkane/subscriptions","organizations_url":"https://api.github.com/users/abhijitkane/orgs","repos_url":"https://api.github.com/users/abhijitkane/repos","events_url":"https://api.github.com/users/abhijitkane/events{/privacy}","received_events_url":"https://api.github.com/users/abhijitkane/received_events","type":"User","site_admin":false},"created_at":"2015-11-14T05:53:42Z","updated_at":"2015-11-14T05:53:42Z","body":"In Postman, check https://blog.getpostman.com/2015/06/13/debugging-postman-requests/ for steps to view the console. The collection runner has a separate console."}}