Skip to content

Commit 658f600

Browse files
author
Rajat
committed
swallowing error
1 parent 35d5c36 commit 658f600

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/web/graphql/pages/helpers.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,9 @@ export async function initSharedWidgets(ctx: GQLContext) {
245245
// }
246246
if (subdomainChanged) {
247247
(ctx.subdomain as any).markModified("sharedWidgets");
248-
await (ctx.subdomain as any).save();
248+
try {
249+
await (ctx.subdomain as any).save();
250+
} catch (e) {}
249251
}
250252
}
251253

0 commit comments

Comments
 (0)