Improve error logging

This commit is contained in:
Paul Frazee 2023-01-02 21:39:15 -06:00
parent 6885fb2b41
commit 4eabc2d65a
49 changed files with 212 additions and 188 deletions

View file

@ -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)
}
}
}