{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/12829","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/12829/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/12829/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/12829/events","html_url":"https://github.com/laravel/framework/pull/12829","id":142959014,"number":12829,"title":"When running tests return exceptions directly","user":{"login":"ivandokov","id":2357455,"avatar_url":"https://avatars.githubusercontent.com/u/2357455?v=3","gravatar_id":"","url":"https://api.github.com/users/ivandokov","html_url":"https://github.com/ivandokov","followers_url":"https://api.github.com/users/ivandokov/followers","following_url":"https://api.github.com/users/ivandokov/following{/other_user}","gists_url":"https://api.github.com/users/ivandokov/gists{/gist_id}","starred_url":"https://api.github.com/users/ivandokov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivandokov/subscriptions","organizations_url":"https://api.github.com/users/ivandokov/orgs","repos_url":"https://api.github.com/users/ivandokov/repos","events_url":"https://api.github.com/users/ivandokov/events{/privacy}","received_events_url":"https://api.github.com/users/ivandokov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-23T13:30:21Z","updated_at":"2016-03-23T14:09:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/laravel/framework/pulls/12829","html_url":"https://github.com/laravel/framework/pull/12829","diff_url":"https://github.com/laravel/framework/pull/12829.diff","patch_url":"https://github.com/laravel/framework/pull/12829.patch"},"body":"The current exception handler throws exceptions including the HTML for testing which is really hard to read in the console or in IDE.\r\nI am proposing to return the exception object directly for testing environment and it will be casted to string.\r\nIt will display the plain exception and the stack trace. Even in the IDEs like PhpStorm the user can click on the links which the IDE produces from the file names and line numbers to go to the caller method."},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/200359404","html_url":"https://github.com/laravel/framework/pull/12829#issuecomment-200359404","issue_url":"https://api.github.com/repos/laravel/framework/issues/12829","id":200359404,"user":{"login":"crynobone","id":172966,"avatar_url":"https://avatars.githubusercontent.com/u/172966?v=3","gravatar_id":"","url":"https://api.github.com/users/crynobone","html_url":"https://github.com/crynobone","followers_url":"https://api.github.com/users/crynobone/followers","following_url":"https://api.github.com/users/crynobone/following{/other_user}","gists_url":"https://api.github.com/users/crynobone/gists{/gist_id}","starred_url":"https://api.github.com/users/crynobone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crynobone/subscriptions","organizations_url":"https://api.github.com/users/crynobone/orgs","repos_url":"https://api.github.com/users/crynobone/repos","events_url":"https://api.github.com/users/crynobone/events{/privacy}","received_events_url":"https://api.github.com/users/crynobone/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T14:09:18Z","updated_at":"2016-03-23T14:09:18Z","body":"What if the user already checking that e.g: \"page return 404 status\" etc. Wouldn't this break those scenarios? "}}