unfurl: improve failure debug

This commit is contained in:
Alex Gleason
2024-01-11 18:09:59 -06:00
parent 8f66e49db8
commit a08e698f29

View File

@@ -51,6 +51,7 @@ async function unfurlCard(url: string, signal: AbortSignal): Promise<PreviewCard
blurhash: null,
};
} catch (e) {
debug(`Failed to unfurl ${url}`);
debug(e);
return null;
}