Skip to content

Commit edc3000

Browse files
Techbot121Meta Construct
authored andcommitted
remove error print
1 parent f39a79a commit edc3000

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

app/services/discord/modules/shitposting.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -364,12 +364,7 @@ export default async (bot: DiscordBot) => {
364364
.then(() => {
365365
db.run("DELETE FROM media_urls WHERE url = ?", url);
366366
})
367-
.catch(err =>
368-
console.error(
369-
"[shitposting] Failed to delete requested message from cache",
370-
err
371-
)
372-
);
367+
.catch(); // if it doesn't exist, who cares could be an external link too
373368
}
374369
}
375370

0 commit comments

Comments
 (0)