Skip to content

ng2-1.0.0-alpha.4: Uncaught (in promise): TransitionRejection #2683

Closed
@christopherthielen

Description

@christopherthielen

Chrome (and ng2 polyfills) log an error to the console if a promise is rejected, but there was no .catch() attached.

This is causing problems in ng2 because the reject factory is doing this:
new Promise((resolve, reject) => reject(foo) instead of Promise.reject(foo).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions