Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
nagarwal4 authored Mar 27, 2024
1 parent 235a62f commit cb44246
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public async Task Handle(OTPCodeByEmailCommand request, CancellationToken cancel
// rare case of exception
if (customerDevice == null || string.IsNullOrEmpty(customerDevice.OTPKey))
{
throw new CustomErrorsException(DomainErrorCode.CustomerNotFoundError.ToString(), request.CustomerCode, "Customer not found.");
throw new CustomErrorsException(DomainErrorCode.CustomerNotFoundError.ToString(), request.CustomerCode, "Customer device key not found.");
}

// Generate OTPCode
Expand Down

0 comments on commit cb44246

Please sign in to comment.