Skip to content

Commit

Permalink
remove error print
Browse files Browse the repository at this point in the history
  • Loading branch information
Techbot121 authored and Meta Construct committed Jan 4, 2025
1 parent f39a79a commit edc3000
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/services/discord/modules/shitposting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,12 +364,7 @@ export default async (bot: DiscordBot) => {
.then(() => {
db.run("DELETE FROM media_urls WHERE url = ?", url);
})
.catch(err =>
console.error(
"[shitposting] Failed to delete requested message from cache",
err
)
);
.catch(); // if it doesn't exist, who cares could be an external link too
}
}

Expand Down

0 comments on commit edc3000

Please sign in to comment.