Skip to content

Commit f723157

Browse files
fix: Remove console error logging in TargetUnitRepository
Eliminated the console error logging in the `getTargetUnits` method of the `TargetUnitRepository` class to streamline error handling. This change enhances the clarity of error messages thrown by the repository without cluttering the console output.
1 parent 1117c36 commit f723157

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

workers/main/src/services/TargetUnit/TargetUnitRepository.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ export class TargetUnitRepository implements ITargetUnitRepository {
4848

4949
return rows.map(TargetUnitRepository.mapRowToTargetUnit);
5050
} catch (error) {
51-
console.error('TargetUnitRepository.getTargetUnits error:', error);
5251
throw new TargetUnitRepositoryError(
5352
`TargetUnitRepository.getTargetUnits failed: ${(error as Error).message}`,
5453
error,

0 commit comments

Comments
 (0)