Skip to content

Commit

Permalink
add debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
wireframe committed Dec 30, 2014
1 parent d8553db commit f61bb5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/thegarage/gitx/github.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ def create_authorization
client = Octokit::Client.new(login: username, password: password)
response = client.create_authorization(authorization_request_options)
response.token
rescue Octokit::ClientError
rescue Octokit::ClientError => e
say "Error creating authorization: #{e.message}", :red
retry
end

Expand Down

0 comments on commit f61bb5d

Please sign in to comment.