mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-20 11:38:38 -05:00
eaf6c889f8
PR #7992 converted four of the five `err instanceof FormbricksHub.APIError` checks to `getErrorStatus(err)` and removed the `FormbricksHub` default import, but left the inline check in `deleteFeedbackRecord`. Since the import is gone, the orphan reference throws ReferenceError at runtime (visible in SonarCloud's coverage run on `vitest run --coverage`). Completes the conversion so all catch handlers use the duck-typed helper. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>