Skip to content

Commit 180835f

Browse files
Update DesktopServerExposure.ts
1 parent 88aac08 commit 180835f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/desktop/src/backend/DesktopServerExposure.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ const make = Effect.gen(function* () {
422422
const cachedReadMagicDnsName = yield* Effect.cachedWithTTL(
423423
readTailscaleStatus.pipe(
424424
Effect.map((status) => status.magicDnsName),
425-
Effect.catch(() => Effect.succeed<string | null>(null)),
425+
Effect.orElseSucceed(() => null),
426426
Effect.provideService(ChildProcessSpawner.ChildProcessSpawner, childProcessSpawner),
427427
),
428428
TAILSCALE_STATUS_CACHE_TTL,

0 commit comments

Comments
 (0)