File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,10 @@ async function _getOrganizationOwnerId(
1919 return orgMember ?. userId || null ;
2020 } catch ( error ) {
2121 logger . error (
22- "[Billing Util] Error with _getOrganizationOwnerId:" ,
23- error instanceof Error ? error . message : String ( error )
22+ {
23+ error,
24+ } ,
25+ "[Billing Util] Error with _getOrganizationOwnerId"
2426 ) ;
2527 return null ;
2628 }
Original file line number Diff line number Diff line change @@ -85,12 +85,12 @@ export const invalidateWebsiteCaches = async (
8585 ] ) ;
8686 } catch ( error ) {
8787 logger . error (
88- "Failed to invalidate caches" ,
89- error instanceof Error ? error . message : String ( error ) ,
9088 {
89+ error,
9190 websiteId,
9291 userId,
93- }
92+ } ,
93+ "Failed to invalidate caches"
9494 ) ;
9595 throw error ;
9696 }
You can’t perform that action at this time.
0 commit comments