Skip to content

Commit ada797b

Browse files
committed
fix: added missing catch arg
1 parent 07e440a commit ada797b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/composables/useBlogPostBlueskyLink.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ export function useBlogPostBlueskyLink(slug: MaybeRefOrGetter<string | null | un
7474
postUri: `at://${facetRecord.did}/app.bsky.feed.post/${facetRecord.rkey}`,
7575
}
7676
}
77-
} catch {
77+
} catch (error: unknown) {
7878
// Constellation unavailable or error - fail silently
7979
// But during dev we will get an error
80-
if (import.meta.dev) console.error('[Bluesky] Constellation error:', err)
80+
if (import.meta.dev) console.error('[Bluesky] Constellation error:', error)
8181
}
8282

8383
return null

0 commit comments

Comments
 (0)