diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-01-02 21:39:15 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-01-02 21:39:15 -0600 |
commit | 4eabc2d65aa742e6cf55822943f04275531d0375 (patch) | |
tree | 645742da4a45eef45019d2d0193f022b3672e01c /src/state/lib/api.ts | |
parent | 6885fb2b41efdb29e386cf696ea7304baf3a87c8 (diff) | |
download | voidsky-4eabc2d65aa742e6cf55822943f04275531d0375.tar.zst |
Improve error logging
Diffstat (limited to 'src/state/lib/api.ts')
-rw-r--r-- | src/state/lib/api.ts | 5 |
1 files changed, 1 insertions, 4 deletions
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) } } } |