Added predata step. Using RedGifs temporary API key.
This commit is contained in:
@@ -39,7 +39,7 @@ async function getPosts(username, reddit, args) {
|
||||
|
||||
return submissions;
|
||||
} catch (error) {
|
||||
logger.warn(`Failed to fetch posts from reddit user '${username}': ${error.message} (https://reddit.com/user/${username})`);
|
||||
logger.error(`Failed to fetch posts from reddit user '${username}': ${error.message} (https://reddit.com/user/${username})`);
|
||||
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user