api: catch exception on sms send
This commit is contained in:
parent
f38bd1219d
commit
5cc3b765fd
|
|
@ -22,8 +22,8 @@ class SMS
|
|||
unset($tx);
|
||||
return $result;
|
||||
}
|
||||
catch (Exception $exception){
|
||||
Log::error($exception);
|
||||
catch (\Throwable $th){
|
||||
Log::info($th);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue