Implemented new subscription system and basic stripe support
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
@using Moonlight.App.ApiClients.Modrinth
|
||||
@using Moonlight.App.ApiClients.Wings
|
||||
@using Moonlight.App.Helpers
|
||||
@using Stripe
|
||||
@inherits ErrorBoundaryBase
|
||||
|
||||
@inject AlertService AlertService
|
||||
@@ -105,6 +106,13 @@ else
|
||||
{
|
||||
await AlertService.Error(SmartTranslateService.Translate("This function is not implemented"));
|
||||
}
|
||||
else if (exception is StripeException stripeException)
|
||||
{
|
||||
await AlertService.Error(
|
||||
SmartTranslateService.Translate("Unknown error from stripe"),
|
||||
stripeException.Message
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
Logger.Warn(exception);
|
||||
|
||||
Reference in New Issue
Block a user