crizstian / cinema-microservice

Example of a cinema microservice
1.75k stars 656 forks source link

server.js ? #5

Open yotavm opened 7 years ago

yotavm commented 7 years ago

hi, why in your server.js the err middleware is before the api function?

kevinrambaud commented 6 years ago

I confirm that the error handling middleware should be defined after the api function else in case of error, the error handler is never called.