Skip to content

Calling next(error) in hook does not bubble error up to initial orm call #301

Description

@dirkmc

eg

afterLoad: function(next) {
    return next(new Error("after load error"));
},

// ...

db.Post.get(1, function(err, data) { console.log(err); // null

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions