Skip to content

Error on deferred.reject of request function  #5

Description

@antonioferngarcia

When the request function is called and has some type of file reading error this error is not returned to the user app.

//line 31
 function (error, response, body) {
        if (!error && response.statusCode < 400) {
            deferred.resolve(body);
        } else {
            deferred.reject(body);
            // i think should be like -> deferred.reject(error);
        }
    };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions