Making sure routes have proper error handling. Instead of throwing the error they now pass it on with next to the error handler