GitHub PullRequestReviewCommentEvent at 2014-03-02 07:34:08
Repository: travis-core
Actor: BanzaiMan
Payload: {"comment":{"url":"https://api.github.com/repos/travis-ci/travis-core/pulls/comments/10194449","id":10194449,"diff_hunk":"@@ -0,0 +1,7 @@\n+module Travis\n+  class RepositoryNotFoundError < StandardError\n+    def initialize\n+      super(\"Repository could not be found\")","path":"lib/travis/errors.rb","position":4,"original_position":4,"commit_id":"8d3e9afbe3ac9b28ab8b420406341a4507d329fa","original_commit_id":"8d3e9afbe3ac9b28ab8b420406341a4507d329fa","user":{"login":"BanzaiMan","id":25666,"avatar_url":"https://avatars.githubusercontent.com/u/25666","gravatar_id":"40e5e9fe36a1f85166493faac2c17499","url":"https://api.github.com/users/BanzaiMan","html_url":"https://github.com/BanzaiMan","followers_url":"https://api.github.com/users/BanzaiMan/followers","following_url":"https://api.github.com/users/BanzaiMan/following{/other_user}","gists_url":"https://api.github.com/users/BanzaiMan/gists{/gist_id}","starred_url":"https://api.github.com/users/BanzaiMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BanzaiMan/subscriptions","organizations_url":"https://api.github.com/users/BanzaiMan/orgs","repos_url":"https://api.github.com/users/BanzaiMan/repos","events_url":"https://api.github.com/users/BanzaiMan/events{/privacy}","received_events_url":"https://api.github.com/users/BanzaiMan/received_events","type":"User","site_admin":false},"body":"I tend to think it is informative to have the repository name in the error message.\r\n\r\n```ruby\r\ndef initalize(repo_name)\r\n  super(\"Repository #{repo_name} could not be found\")\r\nend\r\n```","created_at":"2014-03-02T07:34:08Z","updated_at":"2014-03-02T07:34:08Z","html_url":"https://github.com/travis-ci/travis-core/pull/316#discussion_r10194449","pull_request_url":"https://api.github.com/repos/travis-ci/travis-core/pulls/316","_links":{"self":{"href":"https://api.github.com/repos/travis-ci/travis-core/pulls/comments/10194449"},"html":{"href":"https://github.com/travis-ci/travis-core/pull/316#discussion_r10194449"},"pull_request":{"href":"https://api.github.com/repos/travis-ci/travis-core/pulls/316"}}}}