mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix incorrect error handling in coolsms SMS driver
This commit is contained in:
parent
ada6a81d29
commit
0e3d15d887
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ class CoolSMS extends Base implements \Rhymix\Framework\Drivers\SMSInterface
|
|||
}
|
||||
catch (\Nurigo\Exceptions\CoolsmsException $e)
|
||||
{
|
||||
$message->errors[] = class_basename($e) . ': ' . $e->getMessage();
|
||||
$original->addError(class_basename($e) . ': ' . $e->getMessage());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue