fix: annotate Effect log metadata (#27093)

This commit is contained in:
Aiden Cline
2026-05-12 11:31:18 -05:00
committed by GitHub
parent c7d8b0d565
commit 23f8b3eb3e
6 changed files with 12 additions and 6 deletions

View File

@@ -177,7 +177,7 @@ export const layer: Layer.Layer<Service, never, AppFileSystem.Service | HttpClie
yield* invalidate
}),
).pipe(
Effect.tapCause((cause) => Effect.logError("Failed to fetch models.dev", { cause })),
Effect.tapCause((cause) => Effect.logError("Failed to fetch models.dev").pipe(Effect.annotateLogs("cause", cause))),
Effect.ignore,
)
})