Skip to content

[MEDIUM] Empty catch block swallows errors #239

@ibuyspy

Description

@ibuyspy

Empty catch block at \�pps/api/src/common/data/PrismaRepository.ts:155\ swallows transaction rollback errors without logging.

Fix: Add \logger.debug("Transaction rollback completed", { error: err.message }).
Source: Code quality audit

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions