Return errors in middlewares
Currently the query middleware don't handle errors. It's important to return the error and let it be handled appropriately so errors in the DB can be logged and treated.
Currently the query middleware don't handle errors. It's important to return the error and let it be handled appropriately so errors in the DB can be logged and treated.