From 4eabc2d65aa742e6cf55822943f04275531d0375 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Mon, 2 Jan 2023 21:39:15 -0600 Subject: Improve error logging --- src/state/lib/api.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/state/lib/api.ts') diff --git a/src/state/lib/api.ts b/src/state/lib/api.ts index 6bbc43271..e701ae6f5 100644 --- a/src/state/lib/api.ts +++ b/src/state/lib/api.ts @@ -126,10 +126,7 @@ export async function post( }, } as AppBskyEmbedExternal.Main } catch (e: any) { - store.log.warn( - `Failed to fetch link meta for ${link.value}`, - e.toString(), - ) + store.log.warn(`Failed to fetch link meta for ${link.value}`, e) } } } -- cgit 1.4.1