{"action":"opened","issue":{"url":"https://api.github.com/repos/mattbrictson/airbrussh/issues/61","labels_url":"https://api.github.com/repos/mattbrictson/airbrussh/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/mattbrictson/airbrussh/issues/61/comments","events_url":"https://api.github.com/repos/mattbrictson/airbrussh/issues/61/events","html_url":"https://github.com/mattbrictson/airbrussh/issues/61","id":106935461,"number":61,"title":"Log all error","user":{"login":"lecoueyl","id":8327054,"avatar_url":"https://avatars.githubusercontent.com/u/8327054?v=3","gravatar_id":"","url":"https://api.github.com/users/lecoueyl","html_url":"https://github.com/lecoueyl","followers_url":"https://api.github.com/users/lecoueyl/followers","following_url":"https://api.github.com/users/lecoueyl/following{/other_user}","gists_url":"https://api.github.com/users/lecoueyl/gists{/gist_id}","starred_url":"https://api.github.com/users/lecoueyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lecoueyl/subscriptions","organizations_url":"https://api.github.com/users/lecoueyl/orgs","repos_url":"https://api.github.com/users/lecoueyl/repos","events_url":"https://api.github.com/users/lecoueyl/events{/privacy}","received_events_url":"https://api.github.com/users/lecoueyl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-17T08:32:47Z","updated_at":"2015-09-17T08:32:47Z","closed_at":null,"body":"If there is an error while deploying, airbrussh will not log the Backtrace output.\r\nThis will not be logged:\r\n\r\n```\r\n00:07 deploy:check:repo_dir\r\n      01 mkdir -p /opt/test/\r\n    ✔ 01 @test\r\n(Backtrace restricted to imported tasks)\r\ncap aborted!\r\nNameError: undefined local variable or method `aaa' for #<SSHKit::Backend::Local:0x007fd45d3bbf30>\r\n/opt/capistrano/tasks/bundle_rsync.cap:54:in `block (5 levels) in <top (required)>'\r\n/opt/capistrano/tasks/bundle_rsync.cap:53:in `block (4 levels) in <top (required)>'\r\n/opt/capistrano/tasks/bundle_rsync.cap:52:in `block (3 levels) in <top (required)>'\r\nTasks: TOP => bundle_rsync:rsync_release => bundle_rsync:npm:install\r\n(See full trace by running task with --trace)\r\nThe deploy has failed with an error: undefined local variable or method `aaa' for #<SSHKit::Backend::Local:0x007fd45d3bbf30>\r\n\r\n** DEPLOY FAILED\r\n** Refer to test.log for details. Here are the last 20 lines:\r\n```\r\n\r\nIt would be great if all the output would be logged, and not only the capistrano output"}}