Intenta atrapar Express

controller.getCharacters = async (req, res, next) => {
  try{
    const result = await models.Person.find({});
    res.locals.people = result;
  
    next();
  } catch (error){
    return next({
      log: `An error occurred at controller.getCharacters ${error}`,
      status: 500,
      message: { err: 'An error occurred' }
    });
  }
};
felinehasher