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

@@ -145,7 +145,7 @@ export const layer = Layer.effect(
)
}
}).pipe(
Effect.tapCause((cause) => Effect.logError("failed to run data migrations", { cause })),
Effect.tapCause((cause) => Effect.logError("failed to run data migrations").pipe(Effect.annotateLogs("cause", cause))),
Effect.ignore,
Effect.forkScoped,
)