diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index 7e38303c..071e7aad 100755 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -304,7 +304,7 @@ public function generateOtp(Request $request, Otp $otp) 'Error sending OTP email', [ 'identifier' => $identifier, - 'errorMsg' => $exception + 'errorMsg' => $exception->getMessage() ] );