Skip to content

Handling 404's #27

@jrf0110

Description

@jrf0110

Currently, if you try to get a repo that can't be found, you get this:

{ [Error: Not Found]
  domainEmitter:
   { domain:
      { domain: null,
        _events: [Object],
        _maxListeners: 10,
        members: [] },
     _events: { end: [Object], data: [Function] },
     _maxListeners: 10,
     writable: false,
     readable: true,
     paused: false,
     autoDestroy: true,
     push: [Function],
     queue: [Function],
     end: [Function],
     destroy: [Function],
     pause: [Function],
     resume: [Function] },
  domain:
   { domain: null,
     _events: { error: [Function] },
     _maxListeners: 10,
     members: [] },
  domainThrown: false }
Error: Not Found
    at Request._callback (/usr/local/Cellar/node/0.8.15/lib/node_modules/github-changes/node_modules/github-commit-stream/index.js:57:37)
    at Request.self.callback (/usr/local/Cellar/node/0.8.15/lib/node_modules/github-changes/node_modules/github-commit-stream/node_modules/request/index.js:148:22)
    at Request.EventEmitter.emit (events.js:98:17)
    at Request.<anonymous> (/usr/local/Cellar/node/0.8.15/lib/node_modules/github-changes/node_modules/github-commit-stream/node_modules/request/index.js:886:14)
    at Request.EventEmitter.emit (events.js:117:20)
    at IncomingMessage.<anonymous> (/usr/local/Cellar/node/0.8.15/lib/node_modules/github-changes/node_modules/github-commit-stream/node_modules/request/index.js:837:12)
    at IncomingMessage.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:895:16
    at process._tickDomainCallback (node.js:459:13)

What would you think of reporting:

Could not find repository. Did you forgot to authenticate with --auth?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions