Refactor billing code and add error monitoring
Refactored the code that retrieves the billing customer id by renaming the function getBillingCustomerId to getCustomerId. Also, bolstered error handling: implemented exception capture in particular scenarios across multiple files. If an error occurs, it's now captured and reported to the configured provider.
This commit is contained in:
4
pnpm-lock.yaml
generated
4
pnpm-lock.yaml
generated
@@ -1029,6 +1029,10 @@ importers:
|
||||
version: 18.2.0
|
||||
|
||||
packages/next:
|
||||
dependencies:
|
||||
'@kit/monitoring':
|
||||
specifier: workspace:*
|
||||
version: link:../monitoring/api
|
||||
devDependencies:
|
||||
'@kit/auth':
|
||||
specifier: workspace:^
|
||||
|
||||
Reference in New Issue
Block a user