diff --git a/src/Provider/AbstractProvider.php b/src/Provider/AbstractProvider.php index bf57671..343c258 100644 --- a/src/Provider/AbstractProvider.php +++ b/src/Provider/AbstractProvider.php @@ -118,10 +118,8 @@ protected function callApi(AbstractRequest $request, array $queryData, array $po return utf8_encode($response->getBody()->getContents()); } catch (InvalidArgumentException $ex) { - throw $ex; } catch (Throwable $ex) { - throw new ProviderException("Call sMsmode API failed", 500, $ex); } }