Better logging if a request fails

This commit is contained in:
dangered wolf 2022-07-15 14:24:01 -04:00
parent 99a949a801
commit c3d09b5a69
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -39,6 +39,8 @@ export const handleStatus = async (
`<meta content="Tweet failed to load :(" property="og:description"/>` `<meta content="Tweet failed to load :(" property="og:description"/>`
); );
console.log('Invalid status, got tweet ', tweet, ' conversation ', conversation);
return Strings.BASE_HTML.format({ return Strings.BASE_HTML.format({
lang: '', lang: '',
headers: headers.join(''), headers: headers.join(''),