Update app/Livewire/Subscription/Index.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
6d92000d02
commit
d00eb64acd
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ public function getStripeStatus()
|
||||||
}
|
}
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
// Log the error
|
// Log the error
|
||||||
logger()->error('Stripe API error: '.$e->getMessage());
|
logger()->error('Stripe API error: ' . $e->getMessage());
|
||||||
// Set a flag to show an error message to the user
|
// Set a flag to show an error message to the user
|
||||||
$this->addError('stripe', 'Could not retrieve subscription information. Please try again later.');
|
$this->addError('stripe', 'Could not retrieve subscription information. Please try again later.');
|
||||||
} finally {
|
} finally {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue