You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: resendResetPasswordVerificationOtp wraps its catch block the same way as resendVerificationOtp, swallowing typed HTTP exceptions and returning a 500 to the client for any error, including expected ones like NotFoundException.
Implementation & verification: Trace all controller, service, provider, and module-registration callers before changing the implementation so the DTO and HTTP-error contract remains stable. Add focused automated coverage for the reported failure mode and the expected successful path, mocking external services where applicable.
Work distribution: Implementation: backend/src/auth/auth.service.ts. Integration: update the closest controller, module, DTO, or caller only if the service contract changes. Verification: backend/src/auth/auth.service.spec.ts.
Area: Backend
resendResetPasswordVerificationOtpwraps its catch block the same way asresendVerificationOtp, swallowing typed HTTP exceptions and returning a 500 to the client for any error, including expected ones likeNotFoundException.backend/src/auth/auth.service.ts,backend/src/auth/auth.service.spec.tsbackend/src/auth/auth.service.ts. Integration: update the closest controller, module, DTO, or caller only if the service contract changes. Verification:backend/src/auth/auth.service.spec.ts.