Closed alejandrotrevi closed 7 years ago
Im doing this:
try { Nexmo::message()->send([ 'to' => $user->getPhoneWithCode(), 'from' => '16105552344', 'text' => 'CMM te saluda '. $user->name . ', tu numero de socio es: ' . $user->credential . '' ]); } catch (Exception $e) { Log::error('Nexmo error:' . $e->getMessage()); }
but i still get the exception in the browser.
If that code is already in a namespace, you'll have to add a slash so it's \Exception.
\Exception
Oh, thank you soooo much!!
Im doing this:
but i still get the exception in the browser.