refactor: replace catch (error: any) with unknown and add type narrowing - #4212
Merged
1 commit merged intoAug 8, 2026
Merged
SonarQubeCloud / SonarCloud Code Analysis
failed
Aug 7, 2026 in 1m 38s
Quality Gate failed
Failed conditions
10.7% Duplication on New Code (required ≤ 3%)
Annotations
Check failure on line 168 in apps/web/app/[locale]/admin/synonyms/page.tsx
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=RatLoopz_sahidawa-india&issues=AZ_c-TRY6Oaq1Hsd4tqF&open=AZ_c-TRY6Oaq1Hsd4tqF&pullRequest=4212
Loading