Skip to content

Commit

Permalink
Merge pull request #67 from sportngin/known-unknowns
Browse files Browse the repository at this point in the history
Inspect error to get message + class name
  • Loading branch information
rib3 committed Oct 5, 2015
2 parents 7922ea6 + f44126d commit 7be67d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/octopolo/pull_request_merger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def perform
when GitHub::PullRequest::CommentFailed
cli.say "Unable to write comment. Please navigate to #{pull_request.url} and add the comment, '#{comment_body}'"
else
cli.say "An unknown error occurred: #{e.class.to_s}"
cli.say "An unknown error occurred: #{e.inspect}"
end
false
end
Expand Down

0 comments on commit 7be67d5

Please sign in to comment.