diff --git a/src/controllers/internal/new-episode/index.ts b/src/controllers/internal/new-episode/index.ts index 71fa25b..ad629d4 100644 --- a/src/controllers/internal/new-episode/index.ts +++ b/src/controllers/internal/new-episode/index.ts @@ -52,6 +52,7 @@ app.post( `${domain}/episodes/${aniListId}`, ).then((res) => res.json()); if (!success) { + console.error(`Failed to fetch episodes for title ${aniListId}`); await scheduleRetry( readEnvVariable(env(c, "workerd"), "QSTASH_TOKEN"), c.req, @@ -85,6 +86,7 @@ app.post( }, ).then((res) => res.json()); if (!fetchUrlSuccess) { + console.error(`Failed to fetch episode URL for episode ${episode.id}`); await scheduleRetry( readEnvVariable(env(c, "workerd"), "QSTASH_TOKEN"), c.req,