79240726

Date: 2024-12-01 00:53:57
Score: 4.5
Natty:
Report link

I have a similar issue and i use the await statement for the asynchronous code. For example:

    try {
        await prisma.table.findMany({});
    } catch (error) {
        await LogService.crearErrorLog(error);
        throw ClassToSendAnErrorWithPersonalization.internalServer('Some message');
    }
    

but i cant control the error, and ignore the trycatch. I'm doing some thing wrong? Some times i use the then() method to do something with the value in the sentence. But it's not generally in the app.

Reasons:
  • Blacklisted phrase (2): crear
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have a similar issue
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: sevila