api: catch exception on sms send

This commit is contained in:
saparatayev 2022-02-03 11:22:00 +05:00
parent f38bd1219d
commit 5cc3b765fd
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ class SMS
unset($tx);
return $result;
}
catch (Exception $exception){
Log::error($exception);
catch (\Throwable $th){
Log::info($th);
return 1;
}