fix: annotate Effect log metadata (#27093)

This commit is contained in:
Aiden Cline 2026-05-12 11:31:18 -05:00 committed by GitHub
commit 23f8b3eb3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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,
)
})