Skip to content

A promise was rejected with a non-error #23

@SystemParadox

Description

@SystemParadox

It seems that cordova-file-cache is rejecting promises with non-error objects. This causes bluebird to print warnings, and it seems to totally mess up the stack trace, which is really really unhelpful.

For example, in one instance it rejects with a list of failed files or something:

reject(self.getDownloadQueue());

Please can this be fixed?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions