Skip to content

Unhandled rejection after choosing to open new issue in browser #2

Open
@mnahkies

Description

@mnahkies

Migrated an issue from sinonjs/sinon to sinonjs/nise. Received the following output, and an unhandled rejection.

Despite this message the issue was migrated, although I noticed that the ordering of the migrated comments was off (not a big deal as mostly they were irrelevant to the migrated issue so I deleted most of them).

Original Issue: sinonjs/sinon#607
Migrated Issue: sinonjs/nise#33

? You're about to migrate issue #607 from sinonjs/sinon to sinonjs/nise . Are you sure? Yes
😱 Something went wrong while migrating issue #607!
{
  "status": 403,
  "json": {
    "message": "Must have admin rights to Repository.",
    "documentation_url": "https://developer.github.com/v3/issues/#edit-an-issue"
  }
}
? Open new issue in browser now? Yes
(node:31573) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'htmlUrl' of undefined
(node:31573) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Environment:
OS: Ubuntu 16.04 LTS
NodeJS: v8.9.4
NPM: v5.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions