Skip to content

Only the first error is reported on promise rejection #30

@ryan0122

Description

@ryan0122

in the sample code Prince() .inputs("test.html") .output("test.pdf") .execute() .then(function () { console.log("OK: done") }, function (error) { console.log("ERROR: ", util.inspect(error)) })

The rejection function will only log the first error that is returned by Prince. I have an html document that has at least 3 errors that I would like to log and return to the client but only have access to the first error. Please add support for an array of errors.

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