mongoosejs / kareem

Next-generation take on pre/post function hooks
Apache License 2.0
82 stars 8 forks source link

remove passing error to next #20

Closed Uzlopak closed 2 years ago

Uzlopak commented 2 years ago

next does not expect an error-parameter. So I removed it. Maybe it is a bigger issue, and you wanted to pass for some reason error to next so that it gets somehow processed?