Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

lint (#5802)

Reece Browne213f1368829c
diff --git a/frontend/src/desktop/services/saasBillingService.ts b/frontend/src/desktop/services/saasBillingService.ts
index 32585d1031..2c8b4622ff 100644
--- a/frontend/src/desktop/services/saasBillingService.ts
+++ b/frontend/src/desktop/services/saasBillingService.ts
@@ -263,7 +263,7 @@ export class SaasBillingService {
throw error;
}
- throw new Error('Failed to fetch billing status');
+ throw new Error('Failed to fetch billing status', { cause: error });
}
}
@@ -313,7 +313,7 @@ export class SaasBillingService {
throw error;
}
- throw new Error('Failed to open billing portal');
+ throw new Error('Failed to open billing portal', { cause: error });
}
}
@@ -428,7 +428,7 @@ export class SaasBillingService {
throw error;
}
- throw new Error('Failed to create checkout session');
+ throw new Error('Failed to create checkout session', { cause: error });
}
}
}