feat: enhance onboarding

This commit is contained in:
Thomas Camlong authored and ajnart committed 2026-08-14 11:32:12 +02:00
1 parent ece6757979
commit 775ae0147c
23 files changed
+415 -170

No files matched your search

@@ -411,9 +411,10 @@ export const onboardRouter = createTRPCRouter({
throw new TRPCError({ code: "BAD_REQUEST", message: error.message });
});
if (!result.success) {
throw new TRPCError({
code: "BAD_REQUEST",
message: `Unable to connect to ${integration.name}: ${result.error.message}`,
logger.warn("Creating onboarding integration after its connection test failed", {
name: integration.name,
kind: integration.kind,
error: result.error.message,
});
}
}),