Skip to content

Commit ed197d8

Browse files
committed
make consistent for onSubscritionUpdate
1 parent 85a09ea commit ed197d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/sim/lib/auth/auth.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2231,8 +2231,10 @@ export const auth = betterAuth({
22312231
referenceId: subscription.referenceId,
22322232
plan: subscription.plan,
22332233
error: orgError instanceof Error ? orgError.message : String(orgError),
2234+
stack: orgError instanceof Error ? orgError.stack : undefined,
22342235
}
22352236
)
2237+
throw orgError
22362238
}
22372239

22382240
try {

0 commit comments

Comments
 (0)