diff --git a/app/Http/Controllers/App/BillingController.php b/app/Http/Controllers/App/BillingController.php index 71bd36b3..d955b6ea 100644 --- a/app/Http/Controllers/App/BillingController.php +++ b/app/Http/Controllers/App/BillingController.php @@ -11,8 +11,8 @@ use Illuminate\Support\Facades\Gate; use Inertia\Inertia; use Inertia\Response; -use Stripe\Exception\ApiErrorException as StripeApiErrorException; use Symfony\Component\HttpFoundation\Response as SymfonyResponse; +use Throwable; class BillingController extends Controller { @@ -101,7 +101,7 @@ private function buildConversionData(Account $account, string $sessionId): ?arra $sessionId, ['expand' => ['line_items.data.price']], ); - } catch (StripeApiErrorException) { + } catch (Throwable) { return null; }