Skip to content

Commit 94cc876

Browse files
committed
fix(ripgrep): log failed binary resolution
1 parent b2d82fd commit 94cc876

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎packages/core/src/ripgrep/binary.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,10 @@ export namespace RipgrepBinary {
126126
)
127127

128128
return Service.of({
129-
filepath: filepath.pipe(Effect.tapError(() => invalidate)),
129+
filepath: filepath.pipe(
130+
Effect.tapError((cause) => Effect.logError("ripgrep binary resolution failed", { cause })),
131+
Effect.tapError(() => invalidate),
132+
),
130133
})
131134
}),
132135
)

0 commit comments

Comments
 (0)