mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-11-25 20:42:40 +00:00
Not sure why this keeps happening, but here's another small patch
This commit is contained in:
@@ -73,7 +73,8 @@ module.exports = exports = async function tweets (pages) {
|
||||
|
||||
function attachTweet (dict, tweetid) {
|
||||
if (!hasOwn(twitterCache, tweetid) && twitterBackup[tweetid]) {
|
||||
log.error(`Tweet ${tweetid} is missing from the cache.`);
|
||||
log.error(`Tweet ${tweetid} is missing from the cache but exists in backup? How did we get here?`);
|
||||
twitterCache[tweetid] = tweetparse(twitterBackup[tweetid]);
|
||||
return;
|
||||
}
|
||||
const tweet = twitterCache[tweetid];
|
||||
|
||||
Reference in New Issue
Block a user