The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
loading fix
dduxf8a6e4f2222c
diff --git a/backend/app/controllers/project.controller.go b/backend/app/controllers/project.controller.goindex cfd50f7f..c91aa12b 100644--- a/backend/app/controllers/project.controller.go+++ b/backend/app/controllers/project.controller.go@@ -38,8 +38,8 @@ type CreateProjectRequest struct {func (p projectController) ListProjects(c *gin.Context) {userId := middleware.GetUserId(c)- projectsWithBackendUrl, err := pgdb.ExecuteTransaction(func(tx *sql.Tx) ([]*models.Project, error) {- return repositories.ProjectRepository.FindByUserId(tx, userId)+ projectsWithBackendUrl, err := pgdb.ExecuteTransaction(func(tx *sql.Tx) ([]*models.ProjectWithBackendUrl, error) {+ return repositories.ProjectRepository.FindAllWithBackendUrlByUserId(tx, userId)})if err != nil {c.AbortWithError(http.StatusInternalServerError, traceway.NewStackTraceErrorf("error fetching projects: %w", err))diff --git a/frontend/src/routes/connection/+page.svelte b/frontend/src/routes/connection/+page.svelteindex f4c943f0..f2015ed5 100644--- a/frontend/src/routes/connection/+page.svelte+++ b/frontend/src/routes/connection/+page.svelte@@ -23,8 +23,6 @@} from '$lib/utils/framework-code';let projectWithToken = $derived(projectsState.currentProject);- let loading = $state(true);- let error = $state<string | null>(null);let copiedCode = $state(false);let copiedInstall = $state(false);@@ -63,19 +61,7 @@<p class="text-muted-foreground">Connect your application to Traceway using the SDK</p></div>- {#if loading}- <Card>- <CardContent class="flex items-center justify-center py-12">- <LoadingCircle size="lg" />- </CardContent>- </Card>- {:else if error}- <Card>- <CardContent class="p-6">- <p class="text-destructive">{error}</p>- </CardContent>- </Card>- {:else if projectWithToken}+ {#if projectWithToken}<Card><CardHeader><CardTitle class="flex items-center gap-2">